mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-14 01:55:19 -04:00
Attempt to fix issue where apostrophe key was not detected
This commit is contained in:
parent
9e86f9436a
commit
d1dbb2491c
@ -44,7 +44,8 @@ cc_result GZipHeader_Read(struct Stream* s, struct GZipHeader* header) {
|
||||
header->State++;
|
||||
|
||||
case GZIP_STATE_FLAGS:
|
||||
Header_ReadU8(header->Flags);
|
||||
Header_ReadU8(tmp);
|
||||
header->Flags = tmp;
|
||||
if (header->Flags & 0x04) return GZIP_ERR_FLAGS;
|
||||
header->State++;
|
||||
|
||||
|
@ -981,6 +981,9 @@ static int MapNativeKey(KeySym key) {
|
||||
if (key >= XK_F1 && key <= XK_F35) { return KEY_F1 + (key - XK_F1); }
|
||||
if (key >= XK_KP_0 && key <= XK_KP_9) { return KEY_KP0 + (key - XK_KP_0); }
|
||||
|
||||
/* Keys on a chromebook reported by a user */
|
||||
if (key == 0x8000027) return KEY_QUOTE;
|
||||
|
||||
switch (key) {
|
||||
case XK_Escape: return KEY_ESCAPE;
|
||||
case XK_Return: return KEY_ENTER;
|
||||
|
Loading…
x
Reference in New Issue
Block a user