Skip to content

Hack to send raw HID commands to my qmk firmware keymap

Notifications You must be signed in to change notification settings

rhruiz/hid_send

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 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-userspace.git qmk_userspace

macOS setup

brew instal hidapi # brew qmk/qmk/qmk already installed this

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