summaryrefslogtreecommitdiff
path: root/README.md
blob: ab5928f9eb700842bf9e182aa59e6ee6c7630905 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Devout

A Linux specific program to aid students learning how to code by giving them variadic input that fluctuates and is imperfect.

### USAGE
```
./devout
./devout 12
./devout 2 5 25
```

The first line will print the available devices and events the user can have printed to the terminal.
The second line prints /dev/input/event12 to standard out.
The third line prints /dev/input/event2, /dev/input/event5, and /dev/input/event25 to standard out.

The output is always 5 columns where the first column is an integer representing the event number passed in by the user. The second is the time since the beginning of the program. The third number is the type associated with the event. The fourth number is the code associated with the event. In the fifth and final column is the current value.