diff --git a/src/device/output/key/char.go b/src/device/output/key/char.go index 92005f3..c772a1b 100644 --- a/src/device/output/key/char.go +++ b/src/device/output/key/char.go @@ -53,8 +53,8 @@ var ( ';': PSemicolon, '-': PMinus, '=': PEqual, - '<': F24, - '>': F23, + '<': PageDown, + '>': PageUp, } keyToChar = func() map[Key]byte { result := map[Key]byte{} diff --git a/src/device/output/key/keys.go b/src/device/output/key/keys.go index bd98281..49fbf2b 100644 --- a/src/device/output/key/keys.go +++ b/src/device/output/key/keys.go @@ -57,6 +57,6 @@ const ( PSemicolon = Key(keybd_event.VK_SEMICOLON) PMinus = Key(keybd_event.VK_MINUS) PEqual = Key(keybd_event.VK_EQUAL) - F24 = Key(keybd_event.VK_F24) - F23 = Key(keybd_event.VK_F23) + PageUp = Key(keybd_event.VK_PAGEUP) + PageDown = Key(keybd_event.VK_PAGEDOWN) )