https://github.com/aerphanas/keycode
Simple KeyCode Grabber
https://github.com/aerphanas/keycode
c docker docker-image keyboard-events keycode
Last synced: 12 months ago
JSON representation
Simple KeyCode Grabber
- Host: GitHub
- URL: https://github.com/aerphanas/keycode
- Owner: aerphanas
- License: gpl-3.0
- Created: 2021-08-05T08:56:30.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-12T12:00:21.000Z (about 3 years ago)
- Last Synced: 2025-02-12T22:25:40.170Z (about 1 year ago)
- Topics: c, docker, docker-image, keyboard-events, keycode
- Language: C
- Homepage:
- Size: 8.12 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# **KeyCode**
[](https://github.com/aerphanas)
[](https://github.com/aerphanas/keycode/actions/workflows/action.yml)
Get Keycode From keyboard
## **Setup**
**binary**
```sh
./keycode(tui)
./keycode -v $(your char) (get opt)
```
**Docker**
```sh
docker pull aerphanas/keycode:latest # pull docker image from docker hub
docker run -it keycode:latest # run docker image interactively
docker run -it keycode:latest -v $(your char) # to get key without tui
```
## **Compile From Source**
Prerequisites :
- ncurses
- gcc
- pkg-config
```sh
gcc ./keycode/src/main.c -o keycode.o `pkg-config --cflags --libs ncurses`
```