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()