diff options
author | amet <amet.nospam@gmail.com> | 2011-01-06 09:47:06 +0400 |
---|---|---|
committer | amet <amet.nospam@gmail.com> | 2011-01-06 09:47:06 +0400 |
commit | 48b670e15b84cc39a33fd4468b872a10b5b6506a (patch) | |
tree | 1efaa806240126f8f9f30c92c1a63a5ba221a7d4 /tools/EventClients | |
parent | 23a0a210d8219995fb4672cd6280e44e31354c17 (diff) |
fixed: rewind issue on apple remotes, XBMChelper was mapping button 11 to rewind and joystick.AppleRemote.xml had it as <button id="9">
Diffstat (limited to 'tools/EventClients')
-rw-r--r-- | tools/EventClients/Clients/OSXRemote/xbmcclientwrapper.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/EventClients/Clients/OSXRemote/xbmcclientwrapper.mm b/tools/EventClients/Clients/OSXRemote/xbmcclientwrapper.mm index dc1e128445..0257540640 100644 --- a/tools/EventClients/Clients/OSXRemote/xbmcclientwrapper.mm +++ b/tools/EventClients/Clients/OSXRemote/xbmcclientwrapper.mm @@ -276,8 +276,8 @@ void XBMCClientWrapperImpl::populateEventMap(){ // only present on ATV <= 2.1 <--- check that; OSX seems to have the release parts lr_map.insert(std::make_pair(ATV_BUTTON_RIGHT_H, new CPacketBUTTON(10, "JS0:AppleRemote", BTN_DOWN | BTN_QUEUE))); lr_map.insert(std::make_pair(ATV_BUTTON_RIGHT_H_RELEASE, new CPacketBUTTON(10, "JS0:AppleRemote", BTN_UP | BTN_QUEUE))); - lr_map.insert(std::make_pair(ATV_BUTTON_LEFT_H, new CPacketBUTTON(11, "JS0:AppleRemote", BTN_DOWN | BTN_QUEUE))); - lr_map.insert(std::make_pair(ATV_BUTTON_LEFT_H_RELEASE, new CPacketBUTTON(11, "JS0:AppleRemote", BTN_UP | BTN_QUEUE))); + lr_map.insert(std::make_pair(ATV_BUTTON_LEFT_H, new CPacketBUTTON(9, "JS0:AppleRemote", BTN_DOWN | BTN_QUEUE))); + lr_map.insert(std::make_pair(ATV_BUTTON_LEFT_H_RELEASE, new CPacketBUTTON(9, "JS0:AppleRemote", BTN_UP | BTN_QUEUE))); //new aluminium remote buttons lr_map.insert(std::make_pair(ATV_BUTTON_PLAY, new CPacketBUTTON(12, "JS0:AppleRemote", BTN_DOWN | BTN_NO_REPEAT | BTN_QUEUE))); |