feat(ui): the gamepad moves the focus, presses and goes back; a held direction repeats on the clock
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
a4c7a756f0
commit
d2b0413c30
9 changed files with 141 additions and 1 deletions
7
examples/library/ui_gamepad_parts/Pad.ludic
Normal file
7
examples/library/ui_gamepad_parts/Pad.ludic
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Pad.ludic - eight buttons, a range, a select and a button that opens a popover, for a gamepad
|
||||
component Pad {
|
||||
state last: int = -1
|
||||
state vol: int = 0
|
||||
state q: int = 0
|
||||
state open: bool = false
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue