icculus / ControllerImage

A library for producing images of SDL controllers.
zlib License
106 stars 2 forks source link

Add keyboard and mouse support #11

Open icculus opened 7 months ago

icculus commented 7 months ago

We have art we can use for this, might as well add it to the API, even if it isn't meant to be device-specific.

ShockSlayer commented 1 month ago

Would love to see this. By default I'm loading my own placeholder key images which I overwrite once a controller is detected. If the controller is lost (or the keyboard starts being used) it would be nice to be able to redraw using keys instead; or rather, draw the keys directly in the first place.