initial commit
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
#ifndef _KEYBOARD_H_
|
||||
#define _KEYBOARD_H_
|
||||
|
||||
int prockb(void);
|
||||
int initinput(void);
|
||||
void uninitinput(void);
|
||||
void clearkb(void);
|
||||
|
||||
void hitbutton(short);
|
||||
void releasebutton(short);
|
||||
|
||||
void tapscreen(short x, short y);
|
||||
void untapscreen(short x, short y);
|
||||
void dragscreen(short x, short y);
|
||||
|
||||
void Start_KBUI();
|
||||
|
||||
extern int console;
|
||||
extern int trig0;
|
||||
extern int stick0;
|
||||
|
||||
int get_last_key();
|
||||
|
||||
/* 0 to 3 - overlay in landscape, 4 - not visible or portrait mode*/
|
||||
extern int currentKeyboardMode;
|
||||
/* 1 for negative image */
|
||||
extern int currentKeyboardColor;
|
||||
|
||||
/* Packed bitmap 240x80 - five rows of buttons */
|
||||
extern unsigned long* kbd_image;
|
||||
|
||||
/* Use virtual joystick */
|
||||
extern int virtual_joystick;
|
||||
|
||||
/* Swap vkB + vkC keys for some smartphones */
|
||||
extern int smkeyhack;
|
||||
|
||||
#endif /* _KEYBOARD_H_ */
|
||||
Reference in New Issue
Block a user