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

Minor fixes to udev input drivers. Add support for canary builds to lakka updater stuff #15818

Merged
merged 4 commits into from
Oct 25, 2023

Conversation

GavinDarkglider
Copy link
Contributor

This commit does 3 things.

#1 Fixes building gated udev touch support against < 4.16 version of kernel.
#2 Fixes macros for Deep Debug included with the multitouch support, so now it can be compiled.

#3 Adds change event detection to polling in udev_joypad, which basically removes, then adds the controller again, if a change uevent comes in. This is done for controllers like the nintendo joycons that use a userspace app, and permission clamping to prevent single joycon mode to show up in apps, when set up in the combined mode. This allows Joycond(Userspace app) or any other userspace controller app that creates an event for a controller to issue change events as needed, and have retroarch re-detect/setup the controller.

This is handy with controllers like the Nintendo Joycons that have a daemon
app in the background to handle combining them into one controller(Joycond)

Since the device was already added, but joycond clamped permissions on evdev
retroarch was never updating the controller input change, this fixes that issue.

Note: Needs a patch in joycond as well, to send change uevent.

This shouldnt cause any issues with other controllers, as the kernel probably
will never send change events for these device types.
@GavinDarkglider GavinDarkglider changed the title Minor fixes to udev input drivers. Minor fixes to udev input drivers. Add support for canary builds to lakka updater stuff Oct 23, 2023
@LibretroAdmin LibretroAdmin merged commit 5356afc into libretro:master Oct 25, 2023
22 checks passed
JoeOsborn pushed a commit to JoeOsborn/RetroArch that referenced this pull request Nov 2, 2023
…akka updater stuff (libretro#15818)

* Input: Udev: Fix touch support building against older kernel headers

* Input: Udev: Fix Touch Deep Debug compile issues

* Input: Joypad: Udev: Joypad: Add Change detection for udev events

This is handy with controllers like the Nintendo Joycons that have a daemon
app in the background to handle combining them into one controller(Joycond)

Since the device was already added, but joycond clamped permissions on evdev
retroarch was never updating the controller input change, this fixes that issue.

Note: Needs a patch in joycond as well, to send change uevent.

This shouldnt cause any issues with other controllers, as the kernel probably
will never send change events for these device types.

* Lakka: Add canary builds to updater
Sunderland93 pushed a commit to Sunderland93/RetroArch that referenced this pull request Dec 26, 2024
…akka updater stuff (libretro#15818)

* Input: Udev: Fix touch support building against older kernel headers

* Input: Udev: Fix Touch Deep Debug compile issues

* Input: Joypad: Udev: Joypad: Add Change detection for udev events

This is handy with controllers like the Nintendo Joycons that have a daemon
app in the background to handle combining them into one controller(Joycond)

Since the device was already added, but joycond clamped permissions on evdev
retroarch was never updating the controller input change, this fixes that issue.

Note: Needs a patch in joycond as well, to send change uevent.

This shouldnt cause any issues with other controllers, as the kernel probably
will never send change events for these device types.

* Lakka: Add canary builds to updater
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