From 2bb5d0778664ab48097f80d212876263f604a747 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Thu, 20 Dec 2012 22:56:46 +0000 Subject: test commit. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81906 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- plugins/peopsxgl/key.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'plugins') 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) { -- cgit v1.2.3