lucia
lucia copied to clipboard
Mouse and joystick support
I would like to add mouse and Joystick support to my games, but I would have to do quite a bit of hacking at Lucia internals right now until what I achieve could be accomplished. Could it be possible to add the support for the two devices I mentioned above?
I also would like the ability to check if the special modifier keys are pressed, I.e, KMOD_SHIFT or KMOD_ALT. It can be accomplished by creating a function with an if statement like so: if pygame.key.get_mods() & Insert_KEY_MODIFIER_HERE: return True
The ability to test for multiple keys being pressed or held would also be appreciated.
Hi.
I can look at it, when I'm done with #45 and #46
Alternatively, to keep up with the progress, before this issue can be looked at, you can follow this milestone
I would love to try adding mouse and joystick support to lucia. How ever, i don't have the joystick to test it with, thus i can try adding mouse support to lucia I just hope i can do it haha.
what would be the best way of doing it? Should i create a whole object for it, or put it in a function?
@Amerikranian Sorry for the long time. How did you think the mouse and joystick API should be implemented? Do you have or did you have a particular idea in mind?