Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse and joystick support #47

Open
Amerikranian opened this issue May 4, 2020 · 4 comments
Open

Mouse and joystick support #47

Amerikranian opened this issue May 4, 2020 · 4 comments
Labels
enhancement New feature or request
Milestone

Comments

@Amerikranian
Copy link
Contributor

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 Amerikranian added the enhancement New feature or request label May 4, 2020
@JessicaTegner JessicaTegner added this to the Lucia 2.0 milestone May 5, 2020
@JessicaTegner
Copy link
Collaborator

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

@stale stale bot added the stale label Jun 4, 2020
@stale stale bot closed this as completed Jun 11, 2020
@luciasoftware luciasoftware deleted a comment from stale bot Jun 28, 2020
@luciasoftware luciasoftware deleted a comment from stale bot Jun 28, 2020
@JessicaTegner JessicaTegner reopened this Jun 28, 2020
@ashleygrobler04
Copy link

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
Copy link

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

@pauliyobo
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants