Archive:MINIX A2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 55: | Line 55: | ||
|} | |} | ||
== mouse.xml == | |||
<keymap> | |||
<global> | |||
<mouse> | |||
<leftclick>Select</leftclick> | |||
<rightclick>Back</rightclick> | |||
<middleclick>noop</middleclick> | |||
<doubleclick id="0">noop</doubleclick> | |||
<longclick id="0">noop</longclick> | |||
<wheeldown>noop</wheeldown> | |||
<wheelup>noop</wheelup> | |||
<mousedrag>noop</mousedrag> | |||
<mousemove>noop</mousemove> | |||
<mousedragend>Select</mousedragend> | |||
<mouserdragend>Back</mouserdragend> | |||
</mouse> | |||
</global> | |||
</keymap> | |||
== keyboard.xml (additions)== | |||
If there are 2 keymap entries for the same key, the last entry wins.<br/> | |||
I recommend placing manual entries at the end of the <keyboard> stanza inside <global><br /> | |||
This saves us the effort of finding the original key assignment | |||
.... | |||
<F2>NextSubtitle</F2> | |||
<home>AudioNextLanguage</home> | |||
<return>SendClick(8)</return> | |||
<F1>Stop</F1> | |||
<prev_track>PageUp</prev_track> | |||
<next_track>PageDown</next_track> | |||
</keyboard> | |||
</global> | |||
.... | |||
Revision as of 12:44, 25 January 2015
mouse.xml
<keymap>
<global>
<mouse>
<leftclick>Select</leftclick>
<rightclick>Back</rightclick>
<middleclick>noop</middleclick>
<doubleclick id="0">noop</doubleclick>
<longclick id="0">noop</longclick>
<wheeldown>noop</wheeldown>
<wheelup>noop</wheelup>
<mousedrag>noop</mousedrag>
<mousemove>noop</mousemove>
<mousedragend>Select</mousedragend>
<mouserdragend>Back</mouserdragend>
</mouse>
</global>
</keymap>
keyboard.xml (additions)
If there are 2 keymap entries for the same key, the last entry wins.
I recommend placing manual entries at the end of the <keyboard> stanza inside <global>
This saves us the effort of finding the original key assignment
....
<F2>NextSubtitle</F2>
<home>AudioNextLanguage</home>
<return>SendClick(8)</return>
<F1>Stop</F1>
<prev_track>PageUp</prev_track>
<next_track>PageDown</next_track>
</keyboard>
</global>
....




















