xbmc / peripheral.joystick

Kodi joystick support (drivers and button maps)
GNU General Public License v2.0
24 stars 46 forks source link

use real vendor/product id #251

Closed nadenislamarre closed 3 months ago

nadenislamarre commented 1 year ago

the current way doesn't provide the real vendor/produc ids that can be found via evtest. This patch applies the same commands from the evtest source code. It works for any pad, including bluetooth pads.

This patch was originally written for the batocera project at: https://github.com/batocera-linux/batocera.linux/tree/master/board/batocera/patches/kodi-peripheral-joystick

Signed-off-by: Nicolas Adenis-Lamarre nicolas.adenis.lamarre@gmail.com

nadenislamarre commented 1 year ago

ci complains about udev not working on windows. I guess the previous code didn't too.

garbear commented 1 year ago

@nadenislamarre I fixed the build error with udev: https://github.com/xbmc/peripheral.joystick/pull/280

Can you rebase on the Omega branch and update the PR target branch to Omega?

garbear commented 3 months ago

@nadenislamarre Hope all is well. I want to get input working on the steam deck, and chat-gpt is helping me work through problems in the udev driver. Now is a good time to pull in your work, I'll let you know as I find time to integrate these PRs.

garbear commented 3 months ago

Merged a slightly improved version (but functionally the same) in 73b87c0bd362b63d885239dda6d3622c21fe3964.