2004-02-20, 16:41
ps! persoanly i would prefer if the default cvs keymap is mapped like the dvd-remote was for xbmp, so like this one here (link)
(indierocksteve @ feb. 21 2004,19:00 Wrote:i've been playing around with the keymap file for the last week or so trying to find a combination i like for using the dvd remote. i ran in to the same troubles you've found, and think that this is one area that doesn't seem to be as well thought out as the rest of the interface stuff. i personally find the keymap and the available mappings to be missing some key capabilities and it seems to that the mapping structure as well as the steps required to accomplish certain tasks just aren't well designed for using the remote.please do so.
anyway, if anyone wants my ideas for how the interface should behave with the remote i can post it.
Quote:<!-- xbmp keymap for xbmc by morien. -->
<!-- this file contains the mapping of keys (gamepad and remote) to actions within xbmc -->
<!-- see the guilib\key.h file for the definition of the windows, actions, and keys. -->
<!-- the <global> section is a fall through - they will only be used if the button is not -->
<!-- used in the current window's <window> section. note that there is only handling for -->
<!-- a single action per button at this stage. -->
<!-- the remotecode tags are only needed if you intend to map buttons from other remotes. -->
<!-- in this case, the remotecodes are the obcs (original button codes) in the rca 5 protocol -->
<!-- -->
<keymap>
<global>
<action>
<description>play music</description>
<id>79</id>
<remote>play</remote>
</action>
<action>
<description>fastforward music</description>
<id>77</id>
<remote>forward</remote>
</action>
<action>
<description>rewind music</description>
<id>78</id>
<remote>reverse</remote>
</action>
<action>
<description>move left</description>
<id>1</id>
<gamepad>dpadleft</gamepad>
<remote>left</remote>
<remotecode></remotecode>
</action>
<action>
<description>move right</description>
<id>2</id>
<gamepad>dpadright</gamepad>
<remote>right</remote>
<remotecode></remotecode>
</action>
<action>
<description>move up</description>
<id>3</id>
<gamepad>dpadup</gamepad>
<remote>up</remote>
<remotecode></remotecode>
</action>
<action>
<description>move down</description>
<id>4</id>
<gamepad>dpaddown</gamepad>
<remote>down</remote>
<remotecode></remotecode>
</action>
<action>
<description>page up</description>
<id>5</id>
<gamepad>lefttrigger</gamepad>
<remote>skipminus</remote>
<remotecode></remotecode>
</action>
<action>
<description>page down</description>
<id>6</id>
<gamepad>righttrigger</gamepad>
<remote>skipplus</remote>
<remotecode></remotecode>
</action>
<action>
<description>select item</description>
<id>7</id>
<gamepad>a</gamepad>
<remote>select</remote>
<remotecode></remotecode>
</action>
<action>
<description>parent directory</description>
<id>9</id>
<gamepad>b</gamepad>
<remote>back</remote>
</action>
<action>
<description>front menu</description>
<id>10</id>
<gamepad>back</gamepad>
<remote>menu</remote>
<remotecode></remotecode>
</action>
<action>
<description>show file info</description>
<id>11</id>
<gamepad>white</gamepad>
<remote>info</remote>
<remotecode></remotecode>
</action>
<action>
<description>pause</description>
<id>12</id>
<remote>pause</remote>
<remotecode></remotecode>
</action>
<action>
<description>stop</description>
<id>13</id>
<remote>stop</remote>
<remotecode></remotecode>
</action>
<action>
<description>skip next</description>
<id>14</id>
<remote>skipplus</remote>
<remotecode></remotecode>
</action>
<action>
<description>skip previous</description>
<id>15</id>
<remote>skipminus</remote>
<remotecode></remotecode>
</action>
<action>
<description>toggle between gui and fullscreen</description>
<id>18</id>
<gamepad>x</gamepad>
<remote>display</remote>
<remotecode></remotecode>
</action>
<action>
<description>analog movement</description>
<id>49</id>
<gamepad>leftthumbstick</gamepad>
</action>
</global>
<window>
<description>my files specific actions</description>
<id>3</id>
<action>
<description>switch source and destination</description>
<id>32</id>
<gamepad>black</gamepad>
<remote>display</remote>
<remotecode></remotecode>
</action>
<action>
<description>select/deselect a file</description>
<id>8</id>
<gamepad>y</gamepad>
<remote>play</remote>
<remotecode></remotecode>
</action>
</window>
<window>
<description>my music playlist specific actions</description>
<id>500</id>
<action>
<description>toggle between playlist and filelist</description>
<id>33</id>
<gamepad>black</gamepad>
<remote>title</remote>
<remotecode></remotecode>
</action>
<action>
<description>remove item from the playlist</description>
<id>34</id>
<gamepad>y</gamepad>
<remote>info</remote>
<remotecode></remotecode>
</action>
</window>
<window>
<description>my music songs specific actions</description>
<id>501</id>
<action>
<description>toggle between playlist and filelist</description>
<id>33</id>
<gamepad>black</gamepad>
<remote>title</remote>
<remotecode></remotecode>
</action>
<action>
<description>add item to the playlist</description>
<id>34</id>
<gamepad>y</gamepad>
<remote>info</remote>
<remotecode></remotecode>
</action>
</window>
<window>
<description>my music album specific actions</description>
<id>502</id>
<action>
<description>toggle between playlist and filelist</description>
<id>33</id>
<gamepad>black</gamepad>
<remote>title</remote>
<remotecode></remotecode>
</action>
<action>
<description>add item to the playlist</description>
<id>34</id>
<gamepad>y</gamepad>
<remote>info</remote>
<remotecode></remotecode>
</action>
</window>
<window>
<description>my music artist specific actions</description>
<id>503</id>
<action>
<description>toggle between playlist and filelist</description>
<id>33</id>
<gamepad>black</gamepad>
<remote>title</remote>
<remotecode></remotecode>
</action>
<action>
<description>add item to the playlist</description>
<id>34</id>
<gamepad>y</gamepad>
<remote>info</remote>
<remotecode></remotecode>
</action>
</window>
<window>
<description>my music genre specific actions</description>
<id>504</id>
<action>
<description>toggle between playlist and filelist</description>
<id>33</id>
<gamepad>black</gamepad>
<remote>title</remote>
<remotecode></remotecode>
</action>
<action>
<description>add item to the playlist</description>
<id>34</id>
<gamepad>y</gamepad>
<remote>info</remote>
<remotecode></remotecode>
</action>
</window>
<window>
<description>my music top 100 specific actions</description>
<id>505</id>
<action>
<description>toggle between playlist and filelist</description>
<id>33</id>
<gamepad>black</gamepad>
<remote>title</remote>
<remotecode></remotecode>
</action>
<action>
<description>add item to the playlist</description>
<id>34</id>
<gamepad>y</gamepad>
<remote>info</remote>
<remotecode></remotecode>
</action>
</window>
<window>
<description>fullscreen video specific actions</description>
<id>2005</id>
<action>
<description>zoom/stretch/normal</description>
<id>19</id>
<gamepad>start</gamepad>
<remote>back</remote>
</action>
<action>
<description>play</description>
<id>68</id>
<remote>play</remote>
</action>
<action>
<description>pause</description>
<id>12</id>
<gamepad>back</gamepad>
<remote>pause</remote>
</action>
<action>
<description>stop</description>
<id>13</id>
<gamepad>a</gamepad>
<remote>stop</remote>
</action>
<action>
<description>fastforward</description>
<id>16</id>
<remote>forward</remote>
<gamepad>righttrigger</gamepad>
</action>
<action>
<description>rewind</description>
<id>17</id>
<remote>reverse</remote>
<gamepad>lefttrigger</gamepad>
</action>
<action>
<description>step forward</description>
<id>20</id>
<gamepad>dpadright</gamepad>
<remote>skipplus</remote>
</action>
<action>
<description>step backward</description>
<id>21</id>
<gamepad>dpadleft</gamepad>
<remote>skipminus</remote>
</action>
<action>
<description>big step forward</description>
<id>22</id>
<gamepad>dpadup</gamepad>
<remote>right</remote>
</action>
<action>
<description>big step backward</description>
<id>23</id>
<gamepad>dpaddown</gamepad>
<remote>left</remote>
</action>
<action>
<description>toggle the osd</description>
<id>24</id>
<gamepad>black</gamepad>
<remote>title</remote>
</action>
<action>
<description>show/hide subtitles</description>
<id>25</id>
<gamepad>white</gamepad>
</action>
<action>
<description>next subtitle language</description>
<id>26</id>
<gamepad>b</gamepad>
</action>
<action>
<description>show codec info</description>
<id>27</id>
<gamepad>y</gamepad>
<remote>info</remote>
</action>
<action>
<description>remote button 0</description>
<id>58</id>
<remote>0</remote>
</action>
<action>
<description>remote button 1</description>
<id>59</id>
<remote>1</remote>
</action>
<action>
<description>remote button 2</description>
<id>60</id>
<remote>2</remote>
</action>
<action>
<description>remote button 3</description>
<id>61</id>
<remote>3</remote>
</action>
<action>
<description>remote button 4</description>
<id>62</id>
<remote>4</remote>
</action>
<action>
<description>remote button 5</description>
<id>63</id>
<remote>5</remote>
</action>
<action>
<description>remote button 6</description>
<id>64</id>
<remote>6</remote>
</action>
<action>
<description>remote button 7</description>
<id>65</id>
<remote>7</remote>
</action>
<action>
<description>remote button 8</description>
<id>66</id>
<remote>8</remote>
</action>
<action>
<description>remote button 9</description>
<id>67</id>
<remote>9</remote>
</action>
</window>
<window>
<description>slideshow/picture view specific actions</description>
<id>2007</id>
<action>
<description>show picture info</description>
<id>27</id>
<gamepad>black</gamepad>
<remote>info</remote>
</action>
<action>
<description>next picture</description>
<id>28</id>
<gamepad>righttrigger</gamepad>
<remote>skipplus</remote>
</action>
<action>
<description>previous picture</description>
<id>29</id>
<gamepad>lefttrigger</gamepad>
<remote>skipminus</remote>
</action>
<action>
<description>pause/continue</description>
<id>12</id>
<gamepad>start</gamepad>
<remote>pause</remote>
</action>
<action>
<description>zoom out</description>
<id>30</id>
<gamepad>x</gamepad>
</action>
<action>
<description>zoom in</description>
<id>31</id>
<gamepad>a</gamepad>
</action>
<action>
<description>zoom level 1 (normal)</description>
<id>37</id>
<remote>0</remote>
<remotecode></remotecode>
</action>
<action>
<description>zoom level 2</description>
<id>38</id>
<remote>1</remote>
<remotecode></remotecode>
</action>
<action>
<description>zoom level 3</description>
<id>39</id>
<remote>2</remote>
<remotecode></remotecode>
</action>
<action>
<description>zoom level 4</description>
<id>40</id>
<remote>3</remote>
<remotecode></remotecode>
</action>
<action>
<description>zoom level 5</description>
<id>41</id>
<remote>4</remote>
<remotecode></remotecode>
</action>
<action>
<description>zoom level 6</description>
<id>42</id>
<remote>5</remote>
<remotecode></remotecode>
</action>
<action>
<description>zoom level 7</description>
<id>43</id>
<remote>6</remote>
<remotecode></remotecode>
</action>
<action>
<description>zoom level 8</description>
<id>44</id>
<remote>7</remote>
<remotecode></remotecode>
</action>
<action>
<description>zoom level 9</description>
<id>45</id>
<remote>8</remote>
<remotecode></remotecode>
</action>
<action>
<description>zoom level 10</description>
<id>46</id>
<remote>9</remote>
<remotecode></remotecode>
</action>
<action>
<description>move picture left (in zoom mode)</description>
<id>1</id>
<gamepad>dpadleft</gamepad>
<remote>left</remote>
</action>
<action>
<description>move picture right (in zoom mode)</description>
<id>2</id>
<gamepad>dpadright</gamepad>
<remote>right</remote>
</action>
<action>
<description>move picture up (in zoom mode)</description>
<id>3</id>
<gamepad>dpadup</gamepad>
<remote>up</remote>
</action>
<action>
<description>move picture down (in zoom mode)</description>
<id>4</id>
<gamepad>dpaddown</gamepad>
<remote>down</remote>
</action>
<action>
<description>rotate picture</description>
<id>50</id>
<gamepad>y</gamepad>
<remote>title</remote>
</action>
</window>
<window>
<description>movie calibration specific actions</description>
<id>11</id>
<action>
<description>swap calibration arrows</description>
<id>47</id>
<gamepad>a</gamepad>
<remote>select</remote>
</action>
<action>
<description>reset the calibration</description>
<id>48</id>
<gamepad>black</gamepad>
<remote>info</remote>
</action>
<action>
<description>change resolution</description>
<id>57</id>
<gamepad>white</gamepad>
<remote>title</remote>
</action>
</window>
<window>
<description>ui calibration specific actions</description>
<id>10</id>
<action>
<description>reset the calibration</description>
<id>48</id>
<gamepad>black</gamepad>
<remote>info</remote>
</action>
</window>
<window>
<description>select dialog specific actions (cddb lookups etc.)</description>
<id>2000</id>
<action>
<description>close window</description>
<id>51</id>
<gamepad>back</gamepad>
<remote>back</remote>
</action>
</window>
<window>
<description>osd keys</description>
<id>2901</id>
<action>
<description>move left</description>
<id>69</id>
<gamepad>dpadleft</gamepad>
<remote>left</remote>
<remotecode></remotecode>
</action>
<action>
<description>move right</description>
<id>70</id>
<gamepad>dpadright</gamepad>
<remote>right</remote>
<remotecode></remotecode>
</action>
<action>
<description>move up</description>
<id>71</id>
<gamepad>dpadup</gamepad>
<remote>up</remote>
<remotecode></remotecode>
</action>
<action>
<description>move down</description>
<id>72</id>
<gamepad>dpaddown</gamepad>
<remote>down</remote>
<remotecode></remotecode>
</action>
<action>
<description>select</description>
<id>73</id>
<gamepad>a</gamepad>
<remote>select</remote>
<remotecode></remotecode>
</action>
<action>
<description>value plus</description>
<id>74</id>
<gamepad>righttrigger</gamepad>
<remote>skipplus</remote>
<remotecode></remotecode>
</action>
<action>
<description>value min</description>
<id>75</id>
<gamepad>lefttrigger</gamepad>
<remote>skipminus</remote>
<remotecode></remotecode>
</action>
<action>
<description>toggle the osd</description>
<id>24</id>
<gamepad>black</gamepad>
<remote>title</remote>
</action>
<action>
<description>zoom/stretch/normal</description>
<id>19</id>
<gamepad>start</gamepad>
<remote>back</remote>
</action>
<action>
<description>pause</description>
<id>12</id>
<gamepad>back</gamepad>
<remote>pause</remote>
</action>
<action>
<description>fastforward</description>
<id>16</id>
<remote>forward</remote>
</action>
<action>
<description>rewind</description>
<id>17</id>
<remote>reverse</remote>
</action>
<action>
<description>show/hide subtitles</description>
<id>25</id>
<gamepad>white</gamepad>
</action>
<action>
<description>next subtitle language</description>
<id>26</id>
<gamepad>b</gamepad>
</action>
<action>
<description>show codec info</description>
<id>27</id>
<gamepad>y</gamepad>
<remote>info</remote>
</action>
<action>
<description>remote button 0</description>
<id>58</id>
<remote>0</remote>
</action>
<action>
<description>remote button 1</description>
<id>59</id>
<remote>1</remote>
</action>
<action>
<description>remote button 2</description>
<id>60</id>
<remote>2</remote>
</action>
<action>
<description>remote button 3</description>
<id>61</id>
<remote>3</remote>
</action>
<action>
<description>remote button 4</description>
<id>62</id>
<remote>4</remote>
</action>
<action>
<description>remote button 5</description>
<id>63</id>
<remote>5</remote>
</action>
<action>
<description>remote button 6</description>
<id>64</id>
<remote>6</remote>
</action>
<action>
<description>remote button 7</description>
<id>65</id>
<remote>7</remote>
</action>
<action>
<description>remote button 8</description>
<id>66</id>
<remote>8</remote>
</action>
<action>
<description>remote button 9</description>
<id>67</id>
<remote>9</remote>
</action>
</window>
</keymap>