From e025b89dcef993c07ab230b7a7c1a2470f55890f Mon Sep 17 00:00:00 2001 From: Nathan Bridgewater Date: Tue, 18 Dec 2012 13:48:10 -0600 Subject: [PATCH] tweaks to enable home,end,page up,page down on wireless keyboard. Ref key codes: http://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx --- AppleWirelessKeyboard/KeyboardControl.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/AppleWirelessKeyboard/KeyboardControl.cs b/AppleWirelessKeyboard/KeyboardControl.cs index 4baff7e..0dbe292 100644 --- a/AppleWirelessKeyboard/KeyboardControl.cs +++ b/AppleWirelessKeyboard/KeyboardControl.cs @@ -18,10 +18,10 @@ public static class KeyboardControl const int VK_MEDIA_PREV_TRACK = 177; const int VK_MEDIA_STOP = 178; const int VK_MEDIA_PLAY_PAUSE = 179; - const int VK_END = 37; - const int VK_HOME = 36; - const int VK_PAGEUP = 33; - const int VK_PAGEDOWN = 35; + const int VK_END = 0x23; + const int VK_HOME = 0x24; + const int VK_PAGEUP = 0x21; + const int VK_PAGEDOWN = 0x22; const int VK_F3 = 117; const int VK_INSERT = 45; -- 2.43.0