Navigation: thinBasic Modules > TBDI > TBDI_JoyButton |
|
Description
Check if a button is pressed.
Syntax
n = TBDI_JoyButton(JoyID, ButtonNumber)
Returns
Number.
Parameters
Name |
Type |
Optional |
Meaning |
JoyID |
Numeric |
No |
Joystick ID number |
ButtonNumber |
Numeric |
No |
The button number to check if pressed |
Remarks
Restrictions
See also
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |