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

Add sensor function placeholders for all joypad drivers. #16812

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

zoltanvb
Copy link
Contributor

Description

In some cases, set_sensor_state and get_sensor_input are more related to the joypad driver, e.g. in desktop platforms where sensors are associated rather with the joypad.

If input driver supports the sensors, it is still preferred. Placeholder inserted for all input drivers, no functionality added yet.

Related Pull Requests

I wanted to test #16188 but realized that it will not be possible since I am on Wayland... so maybe it can be slightly reworked, extending the usability.

In some cases, set_sensor_state and get_sensor_input are
more related to the joypad driver, e.g. in desktop platforms
where sensors are associated rather with the joypad.

If input driver supports the sensors, it is still preferred.
Placeholder inserted for all input drivers, no functionality
added yet.
@LibretroAdmin LibretroAdmin merged commit e5e7e66 into libretro:master Jul 24, 2024
27 checks passed
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

Successfully merging this pull request may close these issues.

2 participants