<p>This program works kind of like a mini-language. All options are parsed left-to-right, and executed right there. Thus, specifying "--display" at different places in the options will cause this program to use the most recent given display. </p>
<h2><aclass="anchor"id="example"></a>
Example Usage:</h2>
<p>Click the mouse:</p>
<p>cva-input -s 'click 1'</p>
<p>Press key 'a':</p>
<p>cva-input -s 'keyclick a'</p>
<h2><aclass="anchor"id="options"></a>
Full Options:</h2>
<p>-h, --help: Display this usage message.</p>
<p>-u, --usage: Display this usage message.</p>
<p>-d, --display: Specify the X display to use.</p>
<p>-m, --search-method: Specify a method to search by. See <code>cva-match --help</code> for more information on this.</p>
<p>-t, --tolerance: Specify how strict the match is.</p>
<p>-b, --button: Specify the mouse button to press (default 1).</p>
<p>-c, --center: Instead of matching the top-left corner of an image, match the center of the image.</p>
<p>-o, --sane-tolerance: Set the tolerance using a scale of 1-100, rather than INT_MIN to INT_MAX (100 ~= INT_MAX)</p>
<p>-s, --string: Command string - see below.</p>
<h2><aclass="anchor"id="commands"></a>
Full Command List:</h2>
<p><code>mouseclick:</code> Click the mouse in-place.</p>
<p><code>imouseclick:</code> Click the mouse at an image's top-left corner.</p>
<p><code>icmouseclick:</code> Click the mouse at an image's center.</p>
<p><code>mousexy:</code> Move the mouse to the given coordinate.</p>
<p><code>mouserxy:</code> Move the mouse by the given x and y values (relative motion).</p>
<p><code>mouseimage:</code> Move the mouse to an image's top-left corner.</p>
<p><code>cmouseimage:</code> Move the mouse to an image's center.</p>
<p><code>mousedown:</code> Push and leave down a mouse button.</p>
<p><code>mouseup:</code> Release a mouse button.</p>
<p><code>mousejiggle:</code> Jiggle the mouse (helps to activate some widgets).</p>
<p><code>mousescrollu:</code> Scroll the mouse wheel up</p>
<p><code>mousescrolld:</code> Scroll the mouse wheel down</p>
<p><code>keyclick:</code> Click a keyboard button.</p>
<p><code>keydown:</code> Push and leave down a keyboard button.</p>
<p><code>keyup:</code> Release a keyboard button.</p>
<p><code>keystring:</code> Input a string of keys to X11.</p>
<h2><aclass="anchor"id="contact"></a>
Contact Information:</h2>
<p>Questions? Comments? Concerns? Suggestions? Send all feedback to Bradlee Speice at <<ahref="mailto:bspeice@uncc.edu">bspeice@uncc.edu</a>></p>