https://bugs.kde.org/show_bug.cgi?id=494705
Joshua Goins <j...@redstrate.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://invent.kde.org/plas | |ma/plasma-desktop/-/commit/ | |ee38a393959e6172fec5e06a083 | |c14e587cbb132 Resolution|--- |FIXED Status|REPORTED |RESOLVED --- Comment #1 from Joshua Goins <j...@redstrate.com> --- Git commit ee38a393959e6172fec5e06a083c14e587cbb132 by Joshua Goins, on behalf of Arthur Kasimov. Committed on 14/12/2024 at 15:43. Pushed by redstrate into branch 'master'. kcms/gamecontroller: Show positions of POV hats under Axes table On many gamepads D-pad is actually exposed as a joystick POV hat instead of four regular buttons. Unfortunately, the current implementation completely ignores POV hats / D-pads and doesn't show them in UI. This commit adds new class HatModel that provides raw position data from POV hats. Each POV hat is mapped to a pair of X/Y model rows. Both axes values and hat positions are now displayed under Axes table using new class AxesProxyModel. M +2 -0 kcms/gamecontroller/CMakeLists.txt A +44 -0 kcms/gamecontroller/axesproxymodel.cpp [License: GPL(v2.0+)] A +33 -0 kcms/gamecontroller/axesproxymodel.h [License: GPL(v2.0+)] M +30 -0 kcms/gamecontroller/device.cpp M +6 -0 kcms/gamecontroller/device.h M +5 -0 kcms/gamecontroller/devicemodel.cpp A +91 -0 kcms/gamecontroller/hatmodel.cpp [License: GPL(v2.0+)] A +39 -0 kcms/gamecontroller/hatmodel.h [License: GPL(v2.0+)] M +4 -0 kcms/gamecontroller/kcm.cpp M +1 -1 kcms/gamecontroller/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/ee38a393959e6172fec5e06a083c14e587cbb132 -- You are receiving this mail because: You are watching all bug changes.