Progress Continues
We've already had 21543 updates since Dolphin 5.0. Keep up with Dolphin's continuing progress through the Dolphin Blog: February, March, and April 2024 Dolphin Progress Report. |
The Dolphin Emulator Wiki needs your help! Dolphin can play thousands of games, and changes are happening all the time. Help us keep up! Join in and help us make this the best resource for Dolphin. |
Motion evdev: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(fix capitalization and other details) |
||
Line 1: | Line 1: | ||
Dolphin supports the motion [https://en.wikipedia.org/wiki/Evdev evdev] devices but setting it up is a bit awkward. Nintendo controllers ( | Dolphin supports the motion [https://en.wikipedia.org/wiki/Evdev evdev] devices but setting it up is a bit awkward. Nintendo Switch controllers (Joy-Con and Pro controller) are supported through the hid-nintendo driver. Sony DualShock 4 and DualSense through hid-sony/hid-playstation. | ||
The HID kernel driver exposes 2 (or more) evdev devices, one for the buttons and another for the accelerators/gyroscopes. The hid-nintendo driver exposes the motion axis on an IMU device while hid-playstation named it "Wireless Controller Motion Sensors". Do note that Nintendo Joy-Cons will have 2 devices each (4 in total). | The HID kernel driver exposes 2 (or more) evdev devices, one for the buttons and another for the accelerators/gyroscopes. The hid-nintendo driver exposes the motion axis on an "IMU" device while hid-playstation named it "Wireless Controller Motion Sensors". Do note that Nintendo Joy-Cons will have 2 devices each (4 in total). | ||
You may need to add the users to a specific group to be allowed access. On Arch | You may need to add the users to a specific group to be allowed access. On Arch Linux this group is ''input''. | ||
It took me a bit of time figuring out which axis corresponds with the right motion control in Dolphin. '''These axis might change in the future when evdev standardizes them. | |||
It took me a bit of time figuring out which axis corresponds with the right motion control in | |||
''' | ''' | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 66: | Line 65: | ||
[[File:Select_imu_device.png]] | [[File:Select_imu_device.png]] | ||
Select the corresponding Accel or Gyro axis, select it and click | Select the corresponding Accel or Gyro axis, select it and click OK. For example for ''Accel Up'' in Dolphin you need to select ''Accel Z+''. The end result should look like below. | ||
[[File:Advanced_config_result.png]] | [[File:Advanced_config_result.png]] |