Skip to content

souz9/evmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

evmap

Remap keys for X/Wayland (over evdev)

My personal case

Win+Left  -> Home
Win+Right -> End
Win+Up    -> PgUp
Win+Down  -> PgDw

If you need some other mapping, please edit the mapping table in main.c.

Dependencies

  • libevdev

How to Build / Install

You need Meson for building from the source code.

$ meson --buildtype=release build
$ cd build
$ ninja
$ ninja install

How to Run

Run evmap with an input device specified. Look for input devices in /dev/input/. Use the input device that references your keyboard.

Example:

$ evmap /dev/input/by-id/usb-Logitech_USB_Receiver-if02-event-kbd

root access is required for grabbing an input device!

Or, you can set the proper access rights to your input device (grabbed device) and to the input device with remapped keys (/dev/uinput).

About

Remap keys for X/Wayland (over evdev)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published