xbmc / peripheral.joystick

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

[Peripheral API] Update to v1.3.5: Wheel and throttle support #133

Closed garbear closed 6 years ago

garbear commented 6 years ago

This PR allows wheels and throttles to be mapped in the button mapper.

The buttonmap XML for wheels looks like:

<controller id="game.controller.saturn.arcade.racer">
    <feature name="wheel">
        <left axis="-0" />
        <right axis="+0" />
    </feature>
</controller>

The buttonmap XML for throttles looks like:

<controller id="game.controller.saturn.mission.stick">
    <feature name="throttle">
        <up axis="+3" />
        <down axis="-3" />
    </feature>
</controller>

For https://github.com/xbmc/xbmc/pull/13189.

Montellese commented 6 years ago

Why does the title mention v1.3.5 but the addon has version v1.4.4? In https://github.com/xbmc/xbmc/pull/13189 it's also 1.3.5. Are there different version numbers in play?

garbear commented 6 years ago

They're out of sync because peripheral.joystick's version is bumped more frequently (every add-on api change, to anchor backported commits, etc). I'll sync the versions when we get closer to the 18 release.

It's not as annoying as game.libretro. We're on v1.0.34, the add-on is 1.0.35, and they've been separated by 0.0.1 for a long time :)