summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2012-12-20 22:56:46 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2012-12-20 22:56:46 +0000
commit2bb5d0778664ab48097f80d212876263f604a747 (patch)
treef6db035f5a5dcf212e005cad475406bff2e0e951 /plugins
parentec03001040a634987b658e4b79e377ec4fd2e959 (diff)
downloadpcsxr-2bb5d0778664ab48097f80d212876263f604a747.tar.gz
test commit.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81906 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/peopsxgl/key.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/plugins/peopsxgl/key.c b/plugins/peopsxgl/key.c
index e849c1de..143f5aae 100755
--- a/plugins/peopsxgl/key.c
+++ b/plugins/peopsxgl/key.c
@@ -33,9 +33,17 @@
uint32_t ulKeybits = 0;
////////////////////////////////////////////////////////////////////////
-// keyboard handler (LINUX)
+// keyboard handler (UNIX)
////////////////////////////////////////////////////////////////////////
-
+#ifdef _MACGL
+#define VK_INSERT 114
+#define VK_HOME 115
+#define VK_PRIOR 116
+#define VK_NEXT 121
+#define VK_END 119
+#define VK_DEL 117
+#define VK_F5 96
+#else
#define VK_INSERT 65379
#define VK_HOME 65360
#define VK_PRIOR 65365
@@ -43,6 +51,7 @@ uint32_t ulKeybits = 0;
#define VK_END 65367
#define VK_DEL 65535
#define VK_F5 65474
+#endif
void GPUkeypressed(int keycode)
{