Skip to content

rhruiz/hid_send

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Send HID raw data command line tool

This sends commands to be used by qmk firmware that handles raw HID data.

This is completely stolen from Zeal60 command line tool.

Setup

This asumes qmk is cloned next to this folder:

git clone git@github.com:rhruiz/hid_send.git
git clone git@github.com:rhruiz/qmk_firmware.git

macOS setup

Install patched version of hidapi:

git clone https://github.com/signal11/hidapi.git
cd hidapi
git remote add dylanmckay https://github.com/dylanmckay/hidapi.git
git fetch dylanmckay
git checkout mac-hid-interface-support
./bootstrap
./configure
make
sudo make install
cd ../

Building

Just run:

cd hid_send
make

Setting vendor and product id

Default values are taken from the constants in hid_send.c and they can be overriden using VID and PID environment variables just be sure to use hex numbers with 0x format like 0xFEED.

These variables may also be set when running make and the binary will be generated to values by default.

About

Hack to send raw HID commands to my qmk firmware keymap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published