Skip to content

smk-robotics/KeyBoardStream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

KeyBoardStream

This is the console application that checks keyboard events and prints the button that was pressed/released. It uses only typical unistd library.

It is necessary to set the correct deviceInputAdress in KeyBoardStream.cpp.

Should be run as root.

To find correct keydoard event-file you can use console commands:

$sudo cat /sys/class/input/input<x>/name - shows name of device. - numbers of input devices from (e.g. 4 or 6)

sudo cat /dev/input/event<X> - shows input stream for device (ASCII codes for pressed keyboard button).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published