summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2016-12-10 01:06:45 -0800
committerJay Sorg <jay.sorg@gmail.com>2016-12-10 01:06:45 -0800
commitc264862afe5ef3b21f0774bc108782fbc68bede3 (patch)
tree21b02d70bbec46640ff858d0edd8aff857acab31 /common
parent7a1a481ff997d64028de6f0cdc5ab6b42b28f91d (diff)
downloadxrdp-proprietary-c264862afe5ef3b21f0774bc108782fbc68bede3.tar.gz
xrdp-proprietary-c264862afe5ef3b21f0774bc108782fbc68bede3.zip
change some magics to defines
Diffstat (limited to 'common')
-rw-r--r--common/xrdp_constants.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/xrdp_constants.h b/common/xrdp_constants.h
index 795264a5..3ac8504f 100644
--- a/common/xrdp_constants.h
+++ b/common/xrdp_constants.h
@@ -623,4 +623,10 @@
#define XRDP_MAX_BITMAP_CACHE_IDX 2000
#define XRDP_BITMAP_CACHE_ENTRIES 2048
+#define XR_MIN_KEY_CODE 8
+#define XR_MAX_KEY_CODE 256
+
+#define XR_RDP_SCAN_LSHIFT 42
+#define XR_RDP_SCAN_ALT 56
+
#endif