mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Switch between controller glyphs and keyboard keys automatically
If a controller button is pressed, a controller is connected (even at startup!) or an axis is moved, the game will switch to displaying controller glyphs. If a keyboard key is pressed or the last controller is removed, the game will switch to displaying keyboard keys.
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
e55e9efd9b
commit
01200b5e64
@@ -15,6 +15,8 @@ void BUTTONGLYPHS_init(void);
|
||||
|
||||
bool BUTTONGLYPHS_keyboard_is_available(void);
|
||||
bool BUTTONGLYPHS_keyboard_is_active(void);
|
||||
void BUTTONGLYPHS_keyboard_set_active(bool active);
|
||||
|
||||
const char* BUTTONGLYPHS_get_wasd_text(void);
|
||||
const char* BUTTONGLYPHS_get_button(ActionSet actionset, Action action, int binding);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user