We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c855499 commit 055456aCopy full SHA for 055456a
doomgeneric/doomgeneric_soso.c
@@ -61,6 +61,9 @@ static unsigned char convertToDoomKey(unsigned char scancode)
61
case 0x36:
62
key = KEY_RSHIFT;
63
break;
64
+ case 0x15:
65
+ key = 'y';
66
+ break;
67
default:
68
69
}
@@ -70,6 +73,8 @@ static unsigned char convertToDoomKey(unsigned char scancode)
70
73
71
74
static void addKeyToQueue(int pressed, unsigned char keyCode)
72
75
{
76
+ //printf("key hex %x decimal %d\n", keyCode, keyCode);
77
+
78
unsigned char key = convertToDoomKey(keyCode);
79
80
unsigned short keyData = (pressed << 8) | key;
0 commit comments