The buttons configuration is by default loaded from a XML file located in
<installation directory>\config\default.xml.
View sample file.
Creating your configuration is not hard, but you should be familiar with editing
XML documents. The file buttons-example.xml should give you some hints, and you
can use a copy of this file as a template (just rename it to
buttons.xml or whatever you prefer when you’re done).
The root element contains the
<setting/>
<mouseButtons>
<buttons>
<actions>
nodes.
Settings
<setting id="" value="" />
<setting id="sleep" value="350" />
The “sleep” setting determines the time in milliseconds
ControlRemote sleeps before handling another button event.
Default value is 350. You can try different values if you experience
multiple actions for a single press.
<setting id="mousespeed" value="8" />
The “mousespeed” setting determines the distance in pixels
ControlRemote moves the mouse pointer when mouselock is activated.
Default value is 8. Higher value means higher speed but less precision.
Mouse
<mouseButtons><mouseButton id="" value="" /></mouseButtons>
The mouseButton node contains the mouseButton configuration for the mouselock feature.
Valid id’s are
“leftclick”,
“rightclick” and
“clicklock”. The
directional keys are
predefined for controlling the pointer. A
custom cursor will be used to notify you
when
the “remote mouse” functionality is enabled (optional).
Left-and rightclick maps to left and right mousebutton. The clicklock button is
a toggle
state button allowing you to perform dragn’drop, move windows etc.
When enabled, the left- and rightclick buttons will stay in a “mouse down state”
until
you click left/right again. Pressing the clicklock button again puts the buttons
back to
normal mouse button functionality. The clicklock
functionality is only available when the mouselock macro has been executed.
Example:
<mouseButtons>
<mouseButton id="leftclick" value="Enter" />
<mouseButton id="rightclick" value="Back" />
<mouseButton id="clicklock" value="TeletextYellow" />
</mouseButtons>