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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
NetBSD support proposal. #1723
NetBSD support proposal. #1723
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I commented on some small stylistic changes.
As someone with no knowledge or experience with NetBSD, how would I go about testing this?
Is there any difference in behavior regarding the different BSD distributions? |
Mainly in term of joystick support in this case. Couple of os specifics too. |
Basically, your PR is very similar to the existing FreeBSD joystick implementation, in small differences e.g. how to get joystick ID. Meanwhile, the OpenBSD implementation is an empty stub. But in this case I'm not sure if it makes things more complicated to unify common code rather than duplicating it. The only thing I could imagine is if there is some By the way, do you happen to know if the same code can be used on OpenBSD? |
It might ... maybe the only difference is the ioctl lookup id, just a glance in their code tree tough. |
I my opinion, code duplication is okay, if it's for the sake of isolating independent contexts/modules/etc. |
Thank you for the contribution! 馃檪 |
Thanks a lot for making a contribution to SFML! 馃檪
Before you create the pull request, we ask you to check the follow boxes. (For small changes not everything needs to ticked, but the more the better!)