Allow home and end function keys as unqualified key equivalents. Manual test for home and end function keys.

This commit is contained in:
Alexander Ljungberg committed 2010-12-15 00:26:42 +01:00
1 parent 9a032a57d0
commit f72749fbd6
2 files changed
+5 -1

No files matched your search

+2
View File
@@ -576,6 +576,8 @@ var _CPEventPeriodicEventPeriod = 0,
case CPUpArrowFunctionKey:
case CPRightArrowFunctionKey:
case CPDownArrowFunctionKey:
case CPEndFunctionKey:
case CPHomeFunctionKey:
return YES;
}
}
+3 -1
View File
@@ -83,7 +83,9 @@
["left arrow", CPLeftArrowFunctionKey],
["up arrow", CPUpArrowFunctionKey],
["right arrow", CPRightArrowFunctionKey],
["down arrow", CPDownArrowFunctionKey]
["down arrow", CPDownArrowFunctionKey],
["home", CPHomeFunctionKey],
["end", CPEndFunctionKey]
];
for (var i = 0, buttonsWide = 6, yOffset = 0; i < functionKeysToTest.length; i++)