Check out my first novel, midnight's simulacra!
Dualshock controller: Difference between revisions
From dankwiki
(Created page with "The Sony [https://www.playstation.com/en-us/explore/accessories/gaming-controllers/dualshock-4/ Dualshock Wireless 4] controller works well with Linux. ==Battery== When conne...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
The Sony [https://www.playstation.com/en-us/explore/accessories/gaming-controllers/dualshock-4/ Dualshock Wireless 4] controller works well with Linux. | The Sony [https://www.playstation.com/en-us/explore/accessories/gaming-controllers/dualshock-4/ Dualshock Wireless 4] controller works well with Linux. Support was added in 3.15, though newest revisions of the DualShock 4 require Linux 4.10. | ||
==Battery== | ==Battery== | ||
When connected via USB, the controller's battery will show up under <tt>/sys/class/power_supply</tt>. | When connected via USB, the controller's battery will show up under <tt>/sys/class/power_supply</tt>. | ||
==Input== | |||
Though primarily used as a joystick, the DualShock can also be employed as a mouse via the X eudev driver. | |||
==Further Reading== | |||
* [https://wiki.gentoo.org/wiki/Sony_DualShock Sony DualShock] page on the Gentoo Wiki | |||
* [https://wiki.archlinux.org/index.php/Gamepad Gamepad] page on the Arch Wiki |
Latest revision as of 03:23, 9 September 2019
The Sony Dualshock Wireless 4 controller works well with Linux. Support was added in 3.15, though newest revisions of the DualShock 4 require Linux 4.10.
Battery
When connected via USB, the controller's battery will show up under /sys/class/power_supply.
Input
Though primarily used as a joystick, the DualShock can also be employed as a mouse via the X eudev driver.
Further Reading
- Sony DualShock page on the Gentoo Wiki
- Gamepad page on the Arch Wiki