spoyser / spoyser-repo

XBMC Addons
15 stars 26 forks source link

super favourites breaks keymap of recalbox #40

Open robsdedude opened 8 years ago

robsdedude commented 8 years ago

Hi,

I'm running recalbox on my RPi1. Recalbox comes with kodi integration.

When I install super favourites my XBox controller stops working. Except the X button, wich opens the context menu. Disabling super favourites and deleting the "special://prfile/keymaps/super_facourites_menu.xml" makes the controller work again (restart needed). I guess the keymap file somehow confilcts with the one, recalbox puts there:

<?xml version="1.0" ?>
<keymap>
    <global>
        <joystick name="Xbox 360 Wireless Receiver">
            <button id="2">Back</button>
            <axis id="5" limit="-1">Up</axis>
            <axis id="5" limit="1">Down</axis>
            <axis id="4" limit="-1">Left</axis>
            <axis id="4" limit="1">Right</axis>
            <button id="1">Select</button>
            <button id="3">ContextMenu</button>
            <axis id="6" limit="1"></axis>
            <button id="5">Info</button>
            <button id="14">Up</button>
            <button id="8">PlayPause</button>
            <button id="15">Down</button>
            <button id="6">Queue</button>
            <button id="13">Right</button>
            <axis id="3" limit="1">Mute</axis>
            <button id="4">Stop</button>
            <axis id="2" limit="-1">VolumeUp</axis>
            <axis id="2" limit="1">VolumeDown</axis>
            <axis id="1" limit="-1">VolumeDown</axis>
            <axis id="1" limit="1">VolumeUp</axis>
            <button id="7">ActivateWindow(10111)</button>
            <button id="12">Left</button>
        </joystick>
    </global>
    <FullscreenVideo>
        <joystick name="Xbox 360 Wireless Receiver">
            <axis id="5" limit="-1">ChapterOrBigStepForward</axis>
            <axis id="5" limit="1">ChapterOrBigStepBack</axis>
            <axis id="4" limit="-1">StepBack</axis>
            <axis id="4" limit="1">StepForward</axis>
            <button id="14">ChapterOrBigStepForward</button>
            <button id="15">ChapterOrBigStepBack</button>
            <button id="13">StepForward</button>
            <button id="12">StepBack</button>
        </joystick>
    </FullscreenVideo>
</keymap>
spoyser commented 8 years ago

Disable the SF global menu option in the settings

robsdedude commented 8 years ago

That may be a workaround but I really like the global menu... PS: I couldn't try the workaround yet as I'm not at home this week.