villermen / hatlessengine

An easy to use 2D game engine written in C#
Other
1 stars 1 forks source link

Unify input methods #40

Closed villermen closed 10 years ago

villermen commented 10 years ago

Once OpenTK sorts his shit out, use the global OpenTK.Input methods for keyboard and mouse as well. Currently the two systems (Mice and Keyboards are event based and Joystick/Gamepads are statically accessible). When OpenTK implements the Input.Mouse and Input.Keyboard classes the state system can be changed to start empty and when UpdateState is requested fill out all the pressed buttons.

villermen commented 10 years ago

SDL has it covered d224c01dbe021b9474455c5a1328bf4c96d04202.