masscry / ngx

This is pet project, main idea is to develop several solutions for common task appearing in indie game development. Tools are built with crossplatform in mind.
MIT License
0 stars 0 forks source link

Input system #6

Open masscry opened 7 years ago

masscry commented 7 years ago

input routines

masscry commented 7 years ago

NGXDEVICE would provide keyboard/mouse input handling

masscry commented 7 years ago

Add keyboard input.

ngxIsKeyDown can be used to test key presses in update loop, when ngxKeyFunc can be used to set callbacks to call on keyboard presses.