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

Pointer sanitization, rwebinput driver #17327

Merged
merged 1 commit into from
Jan 1, 2025

Conversation

zoltanvb
Copy link
Contributor

@zoltanvb zoltanvb commented Jan 1, 2025

Description

Adapt the sanitized pointer handling, discussed at #17196 :

Rwebinput driver specific changes:

  • make sure pointer position is always within [-0x7fff,0x7fff] by using the confined wrapper
  • align pointer offscreen query with other drivers

Tested with self hosted build. For anyone looking to do that, https://github.com/Inglebard/dockerfiles/tree/retroarch-web-nightly is a very simple approach if you have docker, compiled updates can be just thrown in to the running container's /var/www/html.

I think this concludes the more important findings from the investigation: #17169 (comment) . Maybe uwp can be changed still.

Related Issues

This PR does not any way address the issue, but the web player is currently not working: #17245

Adapt the sanitized pointer handling, discussed at libretro#17196 :

Rwebinput driver specific changes:

- make sure pointer position is always within [-0x7fff,0x7fff] by using the confined wrapper
- align pointer offscreen query with other drivers
@LibretroAdmin LibretroAdmin merged commit 401e169 into libretro:master Jan 1, 2025
27 checks passed
@zoltanvb zoltanvb deleted the pointer_sanitize_rwebinput branch January 9, 2025 21:41
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