Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jesse McClure
committed
Nov 1, 2012
1 parent
465b10f
commit 99534ea
Showing
5 changed files
with
170 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1 +1,69 @@ | |||
.TH IOCANE 1 | |||
|
|||
.SH NAME | |||
Iocane \- The colorless, oderless, tasteless poison that will rid your system of its rodent infestation | |||
|
|||
.SH SYNOPSIS | |||
.B iocane | |||
[ | |||
.B \-h | |||
| | |||
.B \- | |||
[ | |||
.I <script-file> | |||
] | | |||
.I <command-list> | |||
] | |||
|
|||
.SH DESCRIPTION | |||
Iocane simulates X11 mouse events from the keyboard. Iocane can run in interactive mode for which mappings of keys to commands are defined in iocanerc. Alternately iocane can be passed a list of commands on the command line, or if passed a single "-" it will read commands from the standard input allowing for iocane script files. | |||
|
|||
.SH COMMANDS | |||
This sections is under construction. Not all options are listed. All commands can be envoked by their first letter. | |||
.TP | |||
.BI powder | |||
|
|||
Moves cursor off screen | |||
.TP | |||
.BI move | |||
.I x\ y | |||
|
|||
Move cursor | |||
.I x | |||
and | |||
.I y | |||
pixels | |||
.TP | |||
.BI button | |||
.I N | |||
|
|||
Simulate a click on button | |||
.I N | |||
.TP | |||
.BI quit | |||
|
|||
Exit interactive mode | |||
.TP | |||
.BI sleep | |||
.I S\ [MS] | |||
|
|||
Sleep for | |||
.I S | |||
seconds and | |||
.I MS | |||
milliseconds | |||
.TP | |||
.BI cursor | |||
.I N | |||
|
|||
Sets the root window cursor to | |||
.I Nth | |||
member of the X11 cursor font | |||
.TP | |||
.I x\ y | |||
|
|||
Moves cursor to coordinates | |||
.I x,y | |||
|
|||
.SH EXAMPLES | |||
TODO | TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,41 @@ | |||
|
|||
# IOCANERC | |||
# key bindings for iocane | |||
# | |||
# format: | |||
# <key> <command> | |||
# | |||
# <key> is an X11 keysym without the leading "XK_" | |||
# <command> is the iocane command to be executed | |||
# <key> and <command> must be separated by exactly one space | |||
|
|||
|
|||
# movement | |||
h move -10 0 | |||
j move 0 10 | |||
k move 0 -10 | |||
l move 10 0 | |||
Left move -10 0 | |||
Down move 0 10 | |||
Up move 0 -10 | |||
Right move 10 0 | |||
|
|||
# buttons | |||
1 button 1 | |||
2 button 2 | |||
3 button 3 | |||
4 button 4 | |||
5 button 5 | |||
6 button 6 | |||
7 button 7 | |||
Prior button 4 | |||
Next button 5 | |||
# Button numbers 10-35 can be simulated as follows: | |||
#a button A | |||
#b button B | |||
|
|||
# misc | |||
o 0 0 | |||
p powder | |||
q quit | |||
|