An open API service indexing awesome lists of open source software.

https://github.com/randoragon/xkeycheck

Small X utility to check if a physical key is pressed.
https://github.com/randoragon/xkeycheck

keyboard scripting utility xorg

Last synced: about 1 year ago
JSON representation

Small X utility to check if a physical key is pressed.

Awesome Lists containing this project

README

          

# xkeycheck

xkeycheck is a small shell utility for X which determines whether or not a key is being pressed down or not.
I wrote it because I was missing a simple, quick way of obtaining keyboard information in my shell scripts.

## Example usage

xkeycheck a && echo "key a is down"

## Installation

Arch Linux users can install the `xkeycheck-git` AUR package.

You only need Xlib installed, which comes by default on most Unix installations.

Then, run the following (if necessary, as root):

make install

You can uninstall in the same way with

make uninstall