summaryrefslogtreecommitdiff
path: root/events_notdarwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'events_notdarwin.go')
-rw-r--r--events_notdarwin.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/events_notdarwin.go b/events_notdarwin.go
index 56a8951..dc407e0 100644
--- a/events_notdarwin.go
+++ b/events_notdarwin.go
@@ -73,8 +73,8 @@ var scancodeKeys = map[uintptr]byte{
0x39: ' ',
}
-type scancodeExtKeys = map[uintptr]ExtKey{
-/* 0x47: N7,
+var scancodeExtKeys = map[uintptr]ExtKey{
+ 0x47: N7,
0x48: N8,
0x49: N9,
0x4B: N4,
@@ -85,7 +85,7 @@ type scancodeExtKeys = map[uintptr]ExtKey{
0x51: N3,
0x52: N0,
0x53: NDot,
-*/}
+}
func fromScancode(scancode uintptr) (ke KeyEvent, ok bool) {
if key, ok := scancodeKeys[scancode]; ok {