Player Control in Basic4GL
Keyboard
Keyboard Functions
- ClearKeys()
- InKey$()
- InScanKey()
- KeyDown() - check if key is pressed down
- ScanKeyDown() - check if key is pressed down
Mouse
- Get the Mouse Cursor Position
- Set the Mouse Cursor Position
- Get the Mouse Cursor Position in Characters
Mouse Functions
- Mouse_X() - return the x position of the mouse cursor.
- Mouse_Y() - return the y position of the mouse cursor.
- Mouse_XD()
- Mouse_YD()
- Mouse_Button() - check if a mouse button is pressed.
- Mouse_Wheel() - check the distance the mouse wheel has moved.
Joystick (GamePad)
Joystick Functions
page revision: 18, last edited: 20 Aug 2012 11:40