summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorBerni8k <[email protected]>2018-10-21 00:09:17 +0100
committerBerni8k <[email protected]>2018-10-21 00:09:17 +0100
commite07ec6a2e8facaa6dd4d9229c0e4c8e080e1fcf4 (patch)
treeaf0e02d915b2ace62f6a8f3fd87bc76307b0a9c2 /src/raylib.h
parent464a55902063b526f85f98440fa87498c042a843 (diff)
downloadraylib-e07ec6a2e8facaa6dd4d9229c0e4c8e080e1fcf4.tar.gz
raylib-e07ec6a2e8facaa6dd4d9229c0e4c8e080e1fcf4.zip
Overhaul mouse and touch for RaspberryPi \n\nNow all '/dev/input/event*' devices are now used for input. No longer uses '/dev/input/mouse*', keyboard and gamepad continue to use existing method\nMultitouch is now supported on RPi with 10 point multitouch\nFixed bugs with IsMouseButtonPressed(Used to constantly fire when holding button) and GetMouseWheelMove(Did not work)\n Fixed exesive CPU usage of GamepadThread
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h
index aa5bd16f..8256b745 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -223,7 +223,7 @@
#define MOUSE_MIDDLE_BUTTON 2
// Touch points registered
-#define MAX_TOUCH_POINTS 2
+#define MAX_TOUCH_POINTS 10
// Gamepad Number
#define GAMEPAD_PLAYER1 0