Snatch Remote - iPhone App Problems

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
hjmarkar Offline
Junior Member
Posts: 3
Joined: Jul 2009
Reputation: 0
Post: #11
OK, so I did some debugging on this, and I have a workaround for Air Mouse to work with XBMC, as well as some more information. (XBMC devs, please read behavior section.. maybe you know why this happens).

Behavior:
All keys that are not native to the iphone (such as arrow keys, function keys, pretty much every key that doesn't show up on the iphone keyboard while writing a text message or email, etc) are registered as an ESCAPE keystroke by XBMC. That is why you are able to input letters into xbmc, but when you press the arrow, it's equal to clicking escape on your computer keyboard. Can anyone explain why XBMC is registering these as ESCAPE?

Workaround:
This workaround is lame, but it works for now. Step 1, go to <xbmc install dir>\system and open the keystroke.xml file with notepad. Scroll to the <keyboard> block inside the <global> block and replace the whole keyboard block with what I paste below. Now, double click the air mouse system tray icon to open the air mouse setting thing. Click Function in Key Setup. Here there are 4 rows. Input the following:

First row: UP, 1
Second row: Down, 2
Third row: Right, 3
Forth row: Select, 4


Here is the new keyboard stuff.. it's pretty much the same thing, except now you can't use numbers 1-4. You can play with the keyboard configs if you dont like the ones I am using.

<keyboard>
<p>Play</p>
<q>Queue</q>
<f>FastForward</f>
<r>Rewind</r>
<four>Select</four>
<three>Right</three>
<one>Up</one>
<two>Down</two>
<pageup>PageUp</pageup>
<pagedown>PageDown</pagedown>
<return>Select</return>
<enter>Select</enter>
<backspace>ParentDir</backspace>
<m>ActivateWindow(PlayerControls)</m>
<s>ActivateWindow(shutdownmenu)</s>
<escape>PreviousMenu</escape>
<i>Info</i>
<menu>ContextMenu</menu>
<c>ContextMenu</c>
<space>Pause</space>
<x>Stop</x>
<period>SkipNext</period>
<comma>SkipPrevious</comma>
<tab>FullScreen</tab>
<printscreen>Screenshot</printscreen>
<minus>VolumeDown</minus>
<plus>VolumeUp</plus>
<zero>Number0</zero>
<five>Number5</five>
<six>Number6</six>
<seven>Number7</seven>
<eight>Number8</eight>
<nine>Number9</nine>
<backslash>ToggleFullScreen</backslash>
<browser_home>XBMC.ActivateWindow(Home)</browser_home>
<browser_favorites>ActivateWindow(Favourites)</browser_favorites>
<browser_refresh></browser_refresh>
<browser_search></browser_search>
<launch_app1_pc_icon>ActivateWindow(MyPrograms)</launch_app1_pc_icon>
<launch_media_select>XBMC.ActivateWindow(MyMusic)</launch_media_select>
<play_pause>Pause</play_pause>
<stop>Stop</stop>
<volume_up>VolumeUp</volume_up>
<volume_mute>Mute</volume_mute>
<volume_down>VolumeDown</volume_down>
<next_track>SkipNext</next_track>
<prev_track>SkipPrevious</prev_track>
<launch_mail></launch_mail>
<key id="61620"></key> <!-- same as above, launch_mail, but using button code (based on vkey id) -->
<home>FirstPage</home>
<end>LastPage</end>
<key id="65446">ParentDir</key>
<key id="65459">Play</key>
</keyboard>
(This post was last modified: 2009-07-16 02:31 by hjmarkar.)
find quote
eQUIV Offline
Senior Member
Posts: 202
Joined: Aug 2007
Reputation: 0
Post: #12
hjmarkar... thanks for your research, and taking the time to read this thread. I was actually aware there is a workaround via keymapping. That is a good band-aid. I just wish there was an actual fix.

I've been in contact with the author of Snatch. All he said is he'd like to be put in touch with someone from the XBMC development team who can help him make the necessary changes to Snatch to make it compatible.

If anyone from the XBMC team is reading this and could PM me the e-mail address of someone on the team who I can put in touch with the author of Snatch. It would be greatly appreciated.
find quote
graybeam Offline
Junior Member
Posts: 1
Joined: May 2010
Reputation: 0
Post: #13
I'm having the same exact problem. Can't get Snatch to control XBMC at all.
find quote
Antares Offline
Junior Member
Posts: 1
Joined: Mar 2011
Reputation: 0
Post: #14
Same problem here. Snatch works with the main iphone keyboard but none of the arrow keys or any non-standard apple keyboard keys with XBMC. Works fine with all other apps that I can find however. I tried to pinpoint the problem using Microsoft Spy++ and this tutorial but it's a bit beyond me.

http://www.vivid-abstractions.net/downlo...wf?build=1
find quote
Post Reply