mirror of
https://github.com/fltk/fltk.git
synced 2026-06-01 23:06:54 +08:00
Reverted to old Mac Keyboard handling until new code is functional on allMac versions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6499 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+1
-1
@@ -1287,7 +1287,7 @@ pascal OSStatus carbonKeyboardHandler(
|
|||||||
// Matt: to Carbon. The kEventKeyModifierNumLockMask is only set when
|
// Matt: to Carbon. The kEventKeyModifierNumLockMask is only set when
|
||||||
// Matt: a numeric keypad key is pressed and does not correspond with
|
// Matt: a numeric keypad key is pressed and does not correspond with
|
||||||
// Matt: the NumLock light in PowerBook keyboards.
|
// Matt: the NumLock light in PowerBook keyboards.
|
||||||
#if 0
|
#if 1
|
||||||
if ( (sym >= FL_KP && sym <= FL_KP_Last) || !(sym & 0xff00) ||
|
if ( (sym >= FL_KP && sym <= FL_KP_Last) || !(sym & 0xff00) ||
|
||||||
sym == FL_Tab || sym == FL_Enter) {
|
sym == FL_Tab || sym == FL_Enter) {
|
||||||
buffer[0] = key;
|
buffer[0] = key;
|
||||||
|
|||||||
Reference in New Issue
Block a user