We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd319d3 commit 1eadb71Copy full SHA for 1eadb71
2 files changed
docs/src/evdev/api/device.md
@@ -335,6 +335,6 @@ Release exclusive control of the input device.
335
```lua
336
local Device = evdev.device.open
337
local dev = assert(Device("/dev/input/eventX"))
338
-assert(dev:grap())
+assert(dev:grab())
339
assert(dev:ungrab())
340
```
docs/src/evdev/api/devices.md
@@ -120,7 +120,7 @@ List evdev input devices under `/dev/input`.
120
**Example**:
121
122
123
-local devs = assert(evdev.devices.list_devices()
+local devs = assert(evdev.devices.list_devices())
124
for _, dev in ipairs(devs) do
125
print(dev.path, dev.name)
126
end
0 commit comments