summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-03 15:31:14 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-03 15:31:14 (GMT)
commit8efca8f659b657de7428e8be25fe371c9c20fe0d (patch)
tree799f882bfd96232aa1b7bce24c68f80b81c12ef4 /macosx
parent280afa1e07cb7f084bfd041f2035deb5c5761420 (diff)
downloadtk-8efca8f659b657de7428e8be25fe371c9c20fe0d.zip
tk-8efca8f659b657de7428e8be25fe371c9c20fe0d.tar.gz
tk-8efca8f659b657de7428e8be25fe371c9c20fe0d.tar.bz2
Add missing keysyms "ISO_Group_Shift" and "dead_hamza" on MacOS/Windows. Missing "static" keyword, wrong typecast, no longer use deprecated keysym defines
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXKeysyms.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/macosx/tkMacOSXKeysyms.h b/macosx/tkMacOSXKeysyms.h
index 0b528f3..f97ad98 100644
--- a/macosx/tkMacOSXKeysyms.h
+++ b/macosx/tkMacOSXKeysyms.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1990-1994 The Regents of the University of California.
* Copyright (c) 1994-1997 Sun Microsystems, Inc.
- * Copyright 2001-2009, Apple Inc.
+ * Copyright (c) 2001-2009 Apple Inc.
* Copyright (c) 2006-2009 Daniel A. Steffen <das@users.sourceforge.net>
* Copyright (c) 2020 Marc Culler
*
@@ -85,17 +85,17 @@ static const KeyInfo keyArray[] = {
{106, XK_F16, NSF16FunctionKey},
{107, XK_F14, NSF14FunctionKey},
{109, XK_F10, NSF10FunctionKey},
- {110, XK_Menu, UNKNOWN_KEYCHAR},
+ {110, XK_Menu, UNKNOWN_KEYCHAR},
{111, XK_F12, NSF12FunctionKey},
{113, XK_F15, NSF15FunctionKey},
{114, XK_Help, NSHelpFunctionKey},
{115, XK_Home, NSHomeFunctionKey}, /* Fn Left */
- {116, XK_Page_Up, NSPageUpFunctionKey}, /* Fn Up */
+ {116, XK_Prior, NSPageUpFunctionKey}, /* Fn Up */
{117, XK_Delete, NSDeleteFunctionKey}, /* Fn Delete */
{118, XK_F4, NSF4FunctionKey},
{119, XK_End, NSEndFunctionKey}, /* Fn Right */
{120, XK_F2, NSF2FunctionKey},
- {121, XK_Page_Down, NSPageDownFunctionKey}, /* Fn Down */
+ {121, XK_Next, NSPageDownFunctionKey}, /* Fn Down */
{122, XK_F1, NSF1FunctionKey},
{123, XK_Left, NSLeftArrowFunctionKey},
{124, XK_Right, NSRightArrowFunctionKey},
@@ -141,7 +141,7 @@ typedef struct KeysymInfo {
KeyCode keycode;
} KeysymInfo;
-const KeysymInfo keysymTable[] = {
+static const KeysymInfo keysymTable[] = {
{0x0020, 0x0020}, /* space */
{0x0021, 0x0021}, /* exclam */
{0x0022, 0x0022}, /* quotedbl */