Skip to content

Commit e918bdb

Browse files
committed
docs: add evdev index.md
1 parent 83559d9 commit e918bdb

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

docs/src/evdev/index.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# What is evdev?
2+
3+
`evdev` is a Lua module for working with Linux input devices through the evdev
4+
interface.
5+
6+
It lets Lua discover Linux input devices, read raw events, grab devices, and
7+
create virtual input devices with uinput.
8+
9+
## Compatibility
10+
11+
`evdev` supports:
12+
13+
- Lua 5.1
14+
- Lua 5.2
15+
- Lua 5.3
16+
- Lua 5.4
17+
- Lua 5.5
18+
- LuaJIT
19+
20+
## Use Cases
21+
22+
- Build input automation tools.
23+
- Read keyboard, mouse, gamepad, and other Linux input events from Lua.
24+
- Inspect devices under `/dev/input`.
25+
- Grab a device while handling input yourself.
26+
- Create virtual keyboards, mice, or controllers for tests and tooling.

0 commit comments

Comments
 (0)