mirror of
https://github.com/Pecusx/libretro-atari800.git
synced 2026-05-21 06:39:36 +02:00
add keyboard typecore option (input poll or input callback)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user