add keyboard typecore option (input poll or input callback)

This commit is contained in:
Not6
2017-10-15 19:20:18 +02:00
parent 3b5efb8fd9
commit 1609a6d115
2 changed files with 27 additions and 2 deletions
+4
View File
@@ -72,6 +72,8 @@ unsigned char MXjoy[2]; // joy
extern int a5200_joyhack;
extern int keyboard_type;
//MOUSE
extern int pushi; // gui mouse btn
int gmx,gmy; //gui mouse
@@ -372,6 +374,8 @@ void Process_key()
{
int i;
if(keyboard_type==1)return;
for(i=0;i<320;i++)
Key_Sate[i]=input_state_cb(0, RETRO_DEVICE_KEYBOARD, 0,i) ? 0x80: 0;