A multi-mode, rule-based keyboard customizer
Features
- Key Remapping
- Execute command
Install
$ git clone https://github.com/Hanaasagi/XBurner
$ cd XBurner
$ cargo install --path .
Usage
USAGE:
XBurner [OPTIONS]
OPTIONS:
-h, --help Print help information
--silent Suppress output of all key events
-v, --verbose
-V, --version Print version information
SUBCOMMANDS:
echo Echo key infomation that you typed
help Print this message or the help of the given subcommand(s)
list-device List devices infomation of this computer
list-keys List supported keys reported by the device
run
Configuration
See exmaple.yml
.
Q&A
How to know device path?
$ XBurner list-device
Trying to scan all of /dev/input
Available devices:
/dev/input/event0 : Power Button
/dev/input/event1 : Lid Switch
/dev/input/event2 : AT Translated Set 2 keyboard
/dev/input/event3 : Video Bus
/dev/input/event4 : PC Speaker
/dev/input/event5 : Ideapad extra buttons
/dev/input/event6 : CUST0001:00 06CB:CE44 Mouse
/dev/input/event7 : CUST0001:00 06CB:CE44 Touchpad
/dev/input/event8 : HD-Audio Generic HDMI/DP,pcm=3
/dev/input/event9 : HD-Audio Generic HDMI/DP,pcm=7
/dev/input/event10 : HD-Audio Generic HDMI/DP,pcm=8
/dev/input/event11 : HD-Audio Generic Mic
/dev/input/event12 : HD-Audio Generic Headphone
/dev/input/event13 : PixArt USB Optical Mouse
/dev/input/event14 : Topre Corporation HHKB Professional
/dev/input/event15 : Integrated Camera: Integrated C
/dev/input/event16 : XBurner
How to know key name?
Just run XBurner echo --device
and press keyboard.
$ XBurner echo --device
Timestamp: 1640964235146 PRESS Kind: Key(KEY_A)
aTimestamp: 1640964235226 RELEASE Kind: Key(KEY_A)
License
GNU General Public License v3.0