Fixed the handling of the Toshiba Fn keys, fixes #2778.

This commit is contained in:
OBattler
2022-10-31 04:04:47 +01:00
parent 90f67ee4fb
commit fb8dcab3bd
4 changed files with 7 additions and 6 deletions

View File

@@ -866,7 +866,7 @@ add_data_kbd(uint16_t val)
}
/* Test for T3100E 'Fn' key (Right Alt / Right Ctrl) */
if ((dev != NULL) && (kbc_ven == KBC_VEN_TOSHIBA) && (keyboard_recv(0xb8) || keyboard_recv(0x9d)))
if ((dev != NULL) && (kbc_ven == KBC_VEN_TOSHIBA) && (keyboard_recv(0x138) || keyboard_recv(0x11d)))
switch (val) {
case 0x4f:
t3100e_notify_set(0x01);