2014-01-12, 04:45
Hi,
I am currently running xbmcbuntu, the remote I have is the MINIX A2. Link
Like many similar remotes the A2 has both keyboard and mouse functions built in.
Personally I do not like the airmouse function and want to navigate xbmc using just the buttons.
(Some of the remote's buttons send keystrokes, but 2 send mouse-clicks)
Towards this end I have edited mouse.xml to the following code:
<mousemove>noop</mousemove> seems to result in the following behavior:
Remaining issue:
The 2 remote buttons which send the left and right mouse clicks become unreliable when there is generous cursor movement.
So I am looking for a new trick.
Does someone know how to "lock" the mouse cursor to a fixed set of coordinates, or how to tell the OS/xbmc to ignore all mouse movement?
I am currently running xbmcbuntu, the remote I have is the MINIX A2. Link
Like many similar remotes the A2 has both keyboard and mouse functions built in.
Personally I do not like the airmouse function and want to navigate xbmc using just the buttons.
(Some of the remote's buttons send keystrokes, but 2 send mouse-clicks)
Towards this end I have edited mouse.xml to the following code:
Code:
<keymap>
<global>
<mouse>
<mousemove>noop</mousemove>
<leftclick>Select</leftclick>
<rightclick>Back</rightclick>
<middleclick>noop</middleclick>
<doubleclick>noop</doubleclick>
<wheeldown>noop</wheeldown>
<wheelup>noop</wheelup>
<mousedrag>noop</mousedrag>
</mouse>
</global>
</keymap>
<mousemove>noop</mousemove> seems to result in the following behavior:
- The mouse position is still tracked by xbmc, and a moving cursor is displayed acccordingly
- xbmc ignors the position of the mouse cursor, mouse-clicks are attributted to the currently in-focus control instead of the cursor position
Remaining issue:
The 2 remote buttons which send the left and right mouse clicks become unreliable when there is generous cursor movement.
- If I lay the remote on the table (minimizing airmouse movement) both buttons work 100% of the time.
- While I wave the remote around (even a little bit) the reliability of these 2 buttons drops below 50%
So I am looking for a new trick.
Does someone know how to "lock" the mouse cursor to a fixed set of coordinates, or how to tell the OS/xbmc to ignore all mouse movement?