-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|110|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
SoCoder -> Snippet Home -> Text and GUI's


 
Teasy
Created : 21 August 2007
 
Language : Blitz

Input Definitions

For Keyboard, Mouse and Joystick/pad.

Includes:
- Single (constants) and sequential (arrays) scancodes for keyboard, mouse and joystick.
- Names arrays for buttons and keys, for example Key_Name( Key_Escape ) returns "Escape". See list below.
- Various handy duplicate constant names like Key_Esc and Key_Escape.

List of iterative names, values and scancodes:
- Dim Numeric_Name$( 255 )
- Dim Button_Name$( 255 )
- Dim Joy_Name$( 255 )
- Dim Key_Num%( 9 )
- Dim Key_Alpha%( 26 )
- Dim Key_Pad%( 9 )
- Dim Key_Function%( 12 )
- Dim Key_Name$( 255 )


 

Comments