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

[core] Fix relative mouse mode for PLATFORM_DRM #3492

Merged
merged 1 commit into from Oct 31, 2023
Merged

[core] Fix relative mouse mode for PLATFORM_DRM #3492

merged 1 commit into from Oct 31, 2023

Conversation

ghost
Copy link

@ghost ghost commented Oct 31, 2023

Changes

  1. Fixes the issue causing the PLATFORM_DRM examples with 3D cameras (e.g.: models_first_person_maze, core_3d_camera_free, etc) moving uncontrollably, by adding more handling for the relative mouse mode (R124, R404, R414, R528-R533, R1548-R1557, R1565-R1574), similar to how it was done for PLATFORM_DESKTOP_SDL.

Notes

I understand the input system is getting reworked for PLATFORM_DRM. Just submitting this to not leave the relative mouse movement broken for the examples and the future 5.0 release in the meantime.

Reference

#3487

Environment

Tested on Raspberry Pi 3 Model B 1.2 with Linux (Raspberry Pi OS 11 Bullseye 32-bit armhf).

Edits

1: added line marks; editing.

@raysan5 raysan5 merged commit ab61bad into raysan5:master Oct 31, 2023
12 checks passed
@raysan5
Copy link
Owner

raysan5 commented Oct 31, 2023

I understand the input system is getting reworked for PLATFORM_DRM. Just submitting this to not leave the relative mouse movement broken for the examples and the future 5.0 release in the meantime.

@ubkp Sure! That's the priority at the moment! Not sure if the new input system will be ready by mid-November (@michaelfiber), in any case it's good to have it working as is now.

1 similar comment
@raysan5
Copy link
Owner

raysan5 commented Oct 31, 2023

I understand the input system is getting reworked for PLATFORM_DRM. Just submitting this to not leave the relative mouse movement broken for the examples and the future 5.0 release in the meantime.

@ubkp Sure! That's the priority at the moment! Not sure if the new input system will be ready by mid-November (@michaelfiber), in any case it's good to have it working as is now.

@ghost ghost deleted the fix/mouse-drm branch October 31, 2023 12:33
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.

None yet

1 participant