raylib/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tubbles a005a044da
[rcore_android] Restore face-button input on Android gamepads (#5824)
The KEYBOARD-source veto added in #5439 drops face-button key
events that arrive with both AINPUT_SOURCE_KEYBOARD and
AINPUT_SOURCE_GAMEPAD set on the source bitmask. Confirmed
reproducible on GameSir X2 Type-C and 8BitDo Ultimate Bluetooth,
both reporting source 0x501 on every face-button key event.

This source-bit pattern is general AOSP behaviour since Android
3.2 (commit 6f2fba4 in frameworks/base, Feb 2011): EventHub adds
InputDeviceClass::KEYBOARD to any device whose evdev keyBitmask
claims gamepad buttons (BTN_JOYSTICK..BTN_DIGI), and
KeyboardInputMapper::getEventSource stamps the resulting
KEYBOARD|GAMEPAD source on every outgoing key event.

Use AndroidTranslateGamepadButton(keycode) as the discriminator
instead. Recognised gamepad keycodes route to the gamepad path;
unknown keycodes fall through to the keyboard handler.

Assisted-by: Claude:claude-opus-4-7
2026-05-10 19:20:35 +02:00
..
external fix: check fread return value in jar_mod_load_file (#5840) 2026-05-09 18:55:02 +02:00
platforms [rcore_android] Restore face-button input on Android gamepads (#5824) 2026-05-10 19:20:35 +02:00
CMakeLists.txt Resolveed conflicts 2026-03-13 18:55:36 +01:00
config.h Update config.h 2026-04-16 11:12:50 +02:00
Makefile Update Makefile comment (#5846) 2026-05-08 20:19:08 +02:00
minshell.html Update minshell.html 2025-12-30 22:05:37 +01:00
raudio.c [raudio]: free converterResidual in UnloadSoundAlias to prevent leak (#5857) 2026-05-10 15:01:38 +02:00
raylib.dll.rc Updated Windows resource file 2026-04-12 10:24:35 +02:00
raylib.dll.rc.data Updated Windows resource file 2026-04-12 10:24:35 +02:00
raylib.h [build] Shift __cplusplus check to a higher level for bool type define (#5804) 2026-04-29 18:02:49 +02:00
raylib.ico Update raylib.ico 2024-11-14 16:40:04 +01:00
raylib.rc update raylib.rc to 6.0 (2026) (#5748) 2026-04-12 10:23:09 +02:00
raylib.rc.data Updated Windows resource file 2026-04-12 10:24:35 +02:00
raymath.h Update raymath.h 2026-05-02 09:09:50 +02:00
rcamera.h Update typos/grammar (#5759) 2026-04-15 09:18:30 +02:00
rcore.c REVIEWED: long long usage in all raylib, minimize 2026-05-08 22:59:55 +02:00
rgestures.h REVIEWED: long long usage in all raylib, minimize 2026-05-08 22:59:55 +02:00
rglfw.c Update year to 2026 2026-01-02 13:40:15 +01:00
rlgl.h REVIEWED: long long usage in all raylib, minimize 2026-05-08 22:59:55 +02:00
rmodels.c WARNING: REVIEWED: DrawCapsule()/DrawCapsuleWires() parameter order 2026-04-27 11:42:53 +02:00
rshapes.c Code cleaning 2026-05-07 15:18:42 +02:00
rtext.c Update rtext.c 2026-04-27 12:34:43 +02:00
rtextures.c REVIEWED: ImageColorContrast() parameter type, consistent with other Image*() functions 2026-04-27 11:46:43 +02:00
shell.html REVIEWED: Fullscreen request #5601 2026-03-02 13:16:43 +01:00