initial commit

This commit is contained in:
R-type
2015-12-14 14:00:35 +01:00
commit 5a96c0ca66
377 changed files with 149124 additions and 0 deletions
+38
View File
@@ -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_ */