diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/atkbdc/atkbd.c | 9 | ||||
-rw-r--r-- | sys/dev/kbd/atkbd.c | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/sys/dev/atkbdc/atkbd.c b/sys/dev/atkbdc/atkbd.c index e8a17fb..b39d5c2 100644 --- a/sys/dev/atkbdc/atkbd.c +++ b/sys/dev/atkbdc/atkbd.c @@ -679,6 +679,15 @@ next_code: case 0x5d: /* menu key */ keycode = 0x6b; break; + case 0x5e: /* power key */ + keycode = 0x6d; + break; + case 0x5f: /* sleep key */ + keycode = 0x6e; + break; + case 0x63: /* wake key */ + keycode = 0x6f; + break; default: /* ignore everything else */ goto next_code; } diff --git a/sys/dev/kbd/atkbd.c b/sys/dev/kbd/atkbd.c index e8a17fb..b39d5c2 100644 --- a/sys/dev/kbd/atkbd.c +++ b/sys/dev/kbd/atkbd.c @@ -679,6 +679,15 @@ next_code: case 0x5d: /* menu key */ keycode = 0x6b; break; + case 0x5e: /* power key */ + keycode = 0x6d; + break; + case 0x5f: /* sleep key */ + keycode = 0x6e; + break; + case 0x63: /* wake key */ + keycode = 0x6f; + break; default: /* ignore everything else */ goto next_code; } |