Fuze Arena Logo
  • Forum
  • Creations
    Catalogue Showcase
  • Help

docked()

Purpose

Find out if the console is in TV mode or handheld mode

Description

Returns true (1) if the console is in TV mode and false (0) if the console is in handheld mode

Syntax

result = docked( )

Arguments

** True (1) if the console is in TV mode and false (0) if the console is in handheld mode

Example

loop
    clear()
    dock = docked()
    if dock then
        print( "Console is in TV mode")
    else
        print( "Console is in handheld mode" )
    endIf
    update()
repeat

Associated Commands

input(), controls(), getKeyboardBuffer(), showKeyboard(), touch(), hideKeyboard()

logo

©2019 FUZE Technologies Ltd. FUZE is a registered trademark of FUZE Technologies Ltd. All rights reserved.

Useful links

  • Fuze Main Site
  • Fuze Arena on Twitter
  • Fuze Arena on Youtube
  • Download Buyer

Contact Information

  • FUZE Technologies Ltd
    15 Clearfields Farm
    Wotton Underwood
    Aylesbury, Buckinghamshire
    ​England, HP18 0RS

  • +44 (0) 1844 239 432

  • contact@fuze.co.uk

© Copyright FUZE Technologies Ltd. All rights reserved.