PistonDevelopers / input

DEPRECATED - moved into the piston repo
MIT License
7 stars 11 forks source link

How to get the key code from `Button`? #6

Closed bvssvni closed 10 years ago

bvssvni commented 10 years ago

For each keyboard key there is a standard key code.

bvssvni commented 10 years ago

The dynamic approach we use in the current design makes it hard to get a standard key code without context specific knowledge.

bvssvni commented 10 years ago

Each key has a key code, copied from the SDL2 source.

Closing.