From 16e2739d0c202aef3d9564f2e2a8a4e0007b2ea9 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Thu, 5 Feb 2009 21:28:11 +0000
Subject: [PATCH] Change CIO_KEY_MOUSE to use an old Amstrad keyboard mouse
 scancode. Add an abort "key" which will indicate the user has gone away (ie:
 closed the window)

---
 src/conio/keys.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/conio/keys.h b/src/conio/keys.h
index 2e630daf16..55fb8876da 100644
--- a/src/conio/keys.h
+++ b/src/conio/keys.h
@@ -44,4 +44,5 @@
 #define CIO_KEY_NPAGE     (0x51 << 8)
 #define CIO_KEY_ALT_F(x)      ((x<11)?((0x67+x) << 8):((0x80+x) << 8))
 
-#define CIO_KEY_MOUSE    0x02ff
+#define CIO_KEY_MOUSE     0x7d00	// This is the right mouse on Schneider/Amstrad PC1512 PC keyboards
+#define CIO_KEY_ABORTED   0x0100	// ESC key by scancode
-- 
GitLab