summaryrefslogtreecommitdiff
path: root/raylib.ads
diff options
context:
space:
mode:
authorAdam Zadrożny <zadroznyadam@pm.me>2024-03-25 13:31:26 +0100
committerAdam Zadrożny <zadroznyadam@pm.me>2024-03-25 13:31:26 +0100
commit34f8acab833b9c2969e28109a29daa7dd0c162c4 (patch)
tree4b0fd58ffde3a18d107f3a0813e34ad329e0affa /raylib.ads
parent602691ae92c8abafd77342a1bb65d5de5c27a765 (diff)
add support for running with right shift pressed
I personally find it much more convenient to use my other hand to hold the shift to run. The behaviour of left shift is left unchanged.
Diffstat (limited to 'raylib.ads')
-rw-r--r--raylib.ads1
1 files changed, 1 insertions, 0 deletions
diff --git a/raylib.ads b/raylib.ads
index 2c8415f..0ba7384 100644
--- a/raylib.ads
+++ b/raylib.ads
@@ -79,6 +79,7 @@ package Raylib is
KEY_ESCAPE: constant int := 256;
KEY_ENTER: constant Int := 257;
KEY_LEFT_SHIFT: constant Int := 340;
+ KEY_RIGHT_SHIFT: constant Int := 344;
function Is_Key_Pressed(key: int) return C_bool
with