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 & Keyboard #9

Open
Daandelange opened this issue Jun 18, 2022 · 2 comments
Open

Mouse & Keyboard #9

Daandelange opened this issue Jun 18, 2022 · 2 comments

Comments

@Daandelange
Copy link

Hey Jason,
I've investigated enabling the mouse and keyboard functionality. Do you have any ideas/directions yet ?

One candidate I found is RayLib which could serve as a wrapper for launching OF.
It could also handle window creation (shared code = more maintained?) in a similar way you already do.
This SO discussion from the author about grabbing mouse/keyboard without desktop environment. It states using stdin is limited for games (and thus a lot of ofApps?), so he ended up using libEvDev, which looks quite complicated, but not more then using the DRM api.

@jvcleave
Copy link
Owner

I haven't done any work in this area. Raylib seems interesting and could merit it's own addon?

@Daandelange
Copy link
Author

Yes, probably, it could even be an alternative oF launcher with some work.

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

No branches or pull requests

2 participants