jpcima / ysfx

Hosting library for JSFX
Apache License 2.0
159 stars 25 forks source link

Keyboard input #22

Closed jpcima closed 2 years ago

jpcima commented 2 years ago

Notes on how to process keyboard input.

ysfx_gfx_input(uint32_t mod, uint32_t key)

The values are pushed to a queue in the gfx state. The internal mapping is like this:

Other

jpcima commented 2 years ago

Implemented. test me

jpcima commented 2 years ago

Implemented the mouse