Update RingRayLib - extensions/ringraylib/ring_raylib.rh
GAMEPAD_BUTTON_LEFT_THUMB = 16
GAMEPAD_BUTTON_RIGHT_THUMB = 17
+ // This is here just for error checking
+ GAMEPAD_AXIS_UNKNOWN = 0
+
+ // Left stick
+ GAMEPAD_AXIS_LEFT_X = 1
+ GAMEPAD_AXIS_LEFT_Y = 2
+
+ // Right stick
+ GAMEPAD_AXIS_RIGHT_X = 3
+ GAMEPAD_AXIS_RIGHT_Y = 4
+
+ // Pressure levels for the back triggers
+ GAMEPAD_AXIS_LEFT_TRIGGER = 5 // [1..-1] (pressure-level)
+ GAMEPAD_AXIS_RIGHT_TRIGGER = 6 // [1..-1] (pressure-level)
+
func RayLibColor r,b,g,a
return GetColor( Bytes2Int( Char(r) + Char(g) + Char(b) + Char(a) ) )
