Jump to content

XBMC on an Android TV stick - context menus compatible?


Recommended Posts

Posted

Sorry guys if I'm suffering a brain freeze, but I cannot seem to get full functionality (especially with context menus) out of XBMC 13.2 Gotham (arm) on my Android TV stick (Jellybean) with only mouse input, and was wondering if some kind soul could offer me some insight??. Applies to earlier XBMC versions as well.

Whereas on a touch screen device (Android XBMC) or a PC (Windows XBMC) I can pull up context related menus (to delete stuff, save favorites etc) by either long touch on tablet screen device or right mouse click on PC screen - on my Android TV stick there is no option and right mouse click just acts same as return key to previous full screen.

*Therefore how do I get context related XBMC android menus on the TV stick device with a wireless mouse as only input method?

Posted

The Android API maps the <right-click> as a <back> button.

You can try this:

freaktab.com Beyond-XBMC #post159615

Context menu with a mouse
To use a mouse to bring up context menu just copy the mouse.xml below to your userdata/keymap folder
Code:
<?xml version="1.0" encoding="UTF-8"?> 
<keymap> 
  <global> 
    <mouse> 
      <leftclick>leftclick</leftclick> 
      <middleclick>middleclick</middleclick> 
      <rightclick>rightclick</rightclick> 
      <doubleclick>ContextMenu</doubleclick> 
      <wheeldown>wheeldown</wheeldown> 
      <wheelup>wheelup</wheelup> 
      <mousedrag>ContextMenu</mousedrag> 
      <mousemove>mousemove</mousemove> 
    </mouse> 
  </global> 
  <SlideShow> 
    <mouse> 
      <leftclick>Pause</leftclick> 
      <rightclick>PreviousMenu</rightclick> 
      <wheelup>PreviousPicture</wheelup> 
      <wheeldown>NextPicture</wheeldown> 
    </mouse> 
  </SlideShow> 
</keymap>
Then you can just swipe to bring up the context menu as i have mapped the mousedrag event to it.

Now full xbmc experience with only a (wireless) mouse!
  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.



×
×
  • Create New...