Skip to content

Commit da8b485

Browse files
committed
chore: add version variable to evdev Lua bindings
1 parent c3acb12 commit da8b485

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

types/evdev.d.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
---@alias evdev.path string Path to an evdev device node or related input path.
55
---@alias evdev.eventValue integer Numeric value attached to an input event.
66

7+
local version = "evdev 0.2.0" -- x-release-please-version
8+
79
---
810
---Lua bindings for Linux evdev devices and /dev/uinput virtual devices.
911
---
1012
---@class evdev
11-
---@field _VERSION "evdev 0.2.0"
1213
---@field _core evdev._core
1314
---@field device evdev.device
1415
---@field devices evdev.devices
@@ -17,5 +18,6 @@
1718
---@field selector evdev.selector
1819
---@field uinput evdev.uinput
1920
return {
21+
_VERSION = version,
2022
_util = {}, ---@module "evdev._util"
2123
}

0 commit comments

Comments
 (0)