• 1
  • 2
  • 3(current)
  • 4
  • 5
  • 7
Programming the Mele F10
#31
Ok, I see that's from the skin, I thought it was a system xml file like keymap.xml.
Reply
#32
Ok new discovery, you don't even need to replace the pointer images or delete the Texture.xtb file and replace with the uncompressed images. Just edit pointer.xml and change all the pointer file names to -

Like so:-

Code:
<window>
  <controls>
    <control type="image" id="1">
      <description>Pointer</description>
      <width>45</width>
      <height>45</height>
      <texture>-</texture>
    </control>
    <control type="image" id="2">
      <description>Pointer Focus</description>
      <width>45</width>
      <height>45</height>
      <texture>-</texture>
    </control>
    <control type="image" id="3">
      <description>Pointer Drag</description>
      <width>45</width>
      <height>45</height>
      <texture>-</texture>
    </control>
    <control type="image" id="4">
      <description>pointer_click</description>
      <width>45</width>
      <height>45</height>
      <texture>-</texture>
    </control>
  </controls>
</window>

Much easier Smile
Reply
#33
Can anyone help me? I am not familiar with this keyboard.XML business... And I need help merge this great information into a use able XML for Linux. Right now I have navigation, select, and back... But no volume down, context menu, or center button control.
Reply
#34
No need to merge anything, just create your own keymap.xml file, like the one I posted, and copy it into your userdata/keymaps directory. The location is different depending on which OS you are using but the wiki tells you where to find it:- http://wiki.xbmc.org/index.php?title=Keymap
Reply
#35
(2013-05-04, 21:48)roidy Wrote: Ok new discovery, you don't even need to replace the pointer images or delete the Texture.xtb file and replace with the uncompressed images. Just edit pointer.xml and change all the pointer file names to -

Like so:-


Much easier Smile

I tried that one too, but the problem is Android related Undecided XBMC is not using this file, since the pointer I see is the OS default. So no matter whether I use texture.xtb or any other png files, XBMC won't use them.

Thanks
Reply
#36
So how do I figure out what to call each button?

For example.. The XML I have found is this....

Quote:<keymap>
<global>
<keyboard>
<home>back</home>
<f4>playpause</f4>
<f3>stop</f3>
<f2>info</f2>
<return>select</return>
<f1>contextmenu</f1>
</keyboard>
</global>
</keymap>

I am wanting,for example, to map the volume down button to actually turn down the volume. From the github it appears the command is "volume_down" but what do I place in <here>volume_down</here> same question for the button in the center of the navigation and the button next to the home icon.

I greatly appreciate any help.
Reply
#37
Code:
<keymap>
  <global>
    <keyboard>
      <volume_down>volumedown</volume_down>
      <volume_up>volumeup</volume_up>
      <volume_mute>mute</volume_mute>
    </keyboard>
  </global>
</keymap>

Button in the Centre of the navigation is Left Mouse Click
Button next to home icon is Middle Mouse Click
Button labeled back is Right Mouse Click

These need to be remapped using the <mouse> section

Code:
<mouse>
  <mousemove>noop</mousemove>
  <rightclick>back</rightclick>
  <leftclick>select</leftclick>
  <middleclick>info</middleclick>
</mouse>

Giving a complete keymap.xml file that looks like this:-

Code:
<keymap>
  <global>
    <mouse>
      <mousemove>noop</mousemove>
      <rightclick>back</rightclick>
      <leftclick>select</leftclick>
      <middleclick>info</middleclick>
    </mouse>
    <keyboard>
      <volume_down>volumedown</volume_down>
      <volume_up>volumeup</volume_up>
      <volume_mute>mute</volume_mute>
    </keyboard>
  </global>
</keymap>
Reply
#38
Thank you so much for the feedback....

Should this then work ?
<keymap>
<global>
<mouse>
<mousemove>noop</mousemove>
<rightclick>info</rightclick>
<leftclick>select</leftclick>
<middleclick>info</middleclick>
</mouse>
<keyboard>
<home>back</home>
<f4>playpause</f4>
<f3>stop</f3>
<f2>info</f2>
<return>select</return>
<f1>contextmenu</f1>
<volume_down>volumedown</volume_down>
<volume_up>volumeup</volume_up>
<volume_mute>mute</volume_mute>
</keyboard>

I have that installed but if the mouse is enabled it still shows the pointer and gives it priority. If mouse is turned off I loose all functions except arrow keys and enter .... Strange

If it matters... My set up is a Linux flashed pivos box

Added </global> still no love
Reply
#39
Also found it was missing the </keymap> added this and things began working better. Sadly, pointed never vanished... But it stood taking focus... Also, mapping for volume buttons didn't work ;( may be a Linux thing.
Reply
#40
To get the pointer to vanish you need to go into the directory of the skin your using, find the pointer.xml file and remove all the pointer-***.png files by replacing them with a minus sign -

Just like in post 32. Won't work under android, but should work under linux.

You're also missing the </global> ending tag. File should end with:-

</keyboard>
</global>
</keymap>
Reply
#41
Thanks brother. Removing the pointer image worked out great. Sadly no turning the volume down. I may just need to found a different remote. Sad day Smile
Reply
#42
Strange, because volume works fine on mine, using both Windows and Linux.
Reply
#43
Here my Settings:

Keymap: http://www.file-upload.net/download-7601...n.jpg.html

Keyboard Settings: http://www.file-upload.net/download-7601...d.xml.html
(%userprofile%\AppData\Roaming\XBMC\userdata\)

Maus Settings: http://www.file-upload.net/download-7601...y.exe.html
(Start bevor XBMC starts and disable the Mouse in XBMC!)
Reply
#44
(2013-05-16, 21:58)asselnik Wrote: Here my Settings:

Keymap: http://www.file-upload.net/download-7601...n.jpg.html

Keyboard Settings: http://www.file-upload.net/download-7601...d.xml.html
(%userprofile%\AppData\Roaming\XBMC\userdata\)

Maus Settings: http://www.file-upload.net/download-7601...y.exe.html
(Start bevor XBMC starts and disable the Mouse in XBMC!)

This is very weird. I tried you file, but it does not work on my Android device. However, if I use this piece of code, the moue pointer won't appear:

Code:
<!--Template XBMC keyboard file-->
<keymap>
  <global>
    <mouse>
        <mousemove>noop</mousemove>
        <rightclick>info</rightclick>
        <leftclick>select</leftclick>
        <middleclick>info</middleclick>
    </mouse>
    <keyboard>
      <a>XBMC.ActivateWindow(55)</a>
      <f1>exit</f1>
      <f2>contextmenu</f2>
      <home>back</home>

    </keyboard>
  </global>
  <fullscreenvideo>
  <mouse>
        <mousemove>noop</mousemove>
        <rightclick>info</rightclick>
        <leftclick>play</leftclick>
    </mouse>
    <keyboard>
      <f2>codecinfo</f2>
      <f1>exit</f1>
      <left>rewind</left>
      <return>play</return>
      <right>fastforward</right>
      <home>stop</home>
    <o>exit</o>
    </keyboard>
  </fullscreenvideo>
</keymap>

It looks like XBMC for Android does not recognize the part in between <keyboard></keyboard>. Any ideas?

Thanks
Reply
#45
(2013-05-17, 19:23)MarceFX Wrote: It looks like XBMC for Android does not recognize the part in between <keyboard></keyboard>. Any ideas?

Thanks


Sorry, it only works under Windows, because the XBMCHotkey.exe you must start in Windows,
that exe controls the mouse klick!
Reply
  • 1
  • 2
  • 3(current)
  • 4
  • 5
  • 7

Logout Mark Read Team Forum Stats Members Help
Programming the Mele F100