Lunatik

linux.kbdModule

Linux kernel constants exposed under linux.kbd.

Values are populated at build time from the kernel headers. Keyboard notifier event types. Mirrors KBD_* defines in <linux/notifier.h>. Keys are the kernel names with the prefix stripped: KBD_<NAME> is linux.kbd.<NAME>.

Usage

local kbd = require("linux.kbd")