Skip to content

Commit e4e29b8

Browse files
Sentmoraapslouken
authored andcommitted
Fix support for F21 to F24 scancodes on Linux
1 parent d7939ab commit e4e29b8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/events/scancodes_xfree86.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -371,10 +371,10 @@ static const SDL_Scancode xfree86_scancode_table2[] = {
371371
/* 188, 0x0bc */ SDL_SCANCODE_F18, // XF86Launch9
372372
/* 189, 0x0bd */ SDL_SCANCODE_F19, // NoSymbol
373373
/* 190, 0x0be */ SDL_SCANCODE_F20, // XF86AudioMicMute
374-
/* 191, 0x0bf */ SDL_SCANCODE_UNKNOWN, // XF86TouchpadToggle
375-
/* 192, 0x0c0 */ SDL_SCANCODE_UNKNOWN, // XF86TouchpadOn
376-
/* 193, 0x0c1 */ SDL_SCANCODE_UNKNOWN, // XF86TouchpadOff
377-
/* 194, 0x0c2 */ SDL_SCANCODE_UNKNOWN, // NoSymbol
374+
/* 191, 0x0bf */ SDL_SCANCODE_F21, // XF86TouchpadToggle
375+
/* 192, 0x0c0 */ SDL_SCANCODE_F22, // XF86TouchpadOn
376+
/* 193, 0x0c1 */ SDL_SCANCODE_F23, // XF86TouchpadOff
377+
/* 194, 0x0c2 */ SDL_SCANCODE_F24, // NoSymbol
378378
/* 195, 0x0c3 */ SDL_SCANCODE_MODE, // Mode_switch
379379
/* 196, 0x0c4 */ SDL_SCANCODE_UNKNOWN, // NoSymbol
380380
/* 197, 0x0c5 */ SDL_SCANCODE_UNKNOWN, // NoSymbol

0 commit comments

Comments
 (0)