linux-keycodes

Linux keycodes


Keywords
keyboard, keycodes, linux
License
OFL-1.1-no-RFN
Install
npm install linux-keycodes@2.0.0

Documentation

Linux-keycodes

A list of linux keycodes (source: input-event-codes.h)

Example usage:

import { fromCode } from 'linux-keycodes';
console.log(
    fromCode(57)
); // Should output KEY_SPACE