aneury1 / DOEngine

Another Game Engine, by now only use SDL2 and its dependent family library but we planning to use other librarys like SFML or allegro5 to create Drawing Context (opengl ,Vulkan or metal).
0 stars 2 forks source link

Create enumerations for keyboard and mouse buttons #22

Closed victordmontero closed 3 months ago

victordmontero commented 7 months ago

Scope

The goal of this issue is to crate enums for keyboards and mouse buttons and maybe you can include joypad buttons as well.

For SDL you could:

Additionally, other information about the input device should be sent alongside with the event data, like the device id, to distinguish between devices, for example if you have more than one gamepad plugged in.

Information about these events can be found at the SDL Wiki

DOD

victordmontero commented 4 months ago

The SDL_TouchFingerEvent events where left out, for another issue