lucia icon indicating copy to clipboard operation
lucia copied to clipboard

Mouse and joystick support

Open Amerikranian opened this issue 4 years ago • 4 comments

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.

Amerikranian avatar May 04 '20 15:05 Amerikranian

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

JessicaTegner avatar May 05 '20 16:05 JessicaTegner

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.

ashleygrobler04 avatar Jan 26 '21 15:01 ashleygrobler04

what would be the best way of doing it? Should i create a whole object for it, or put it in a function?

ashleygrobler04 avatar Jan 26 '21 15:01 ashleygrobler04

@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?

pauliyobo avatar Feb 19 '21 08:02 pauliyobo