Skip to content

Instantly share code, notes, and snippets.

@photomattmills
photomattmills / usb_hid_keys.h
Created July 25, 2019 18:37 — forked from MightyPork/usb_hid_keys.h
USB HID Keyboard scan codes
/**
* USB HID Keyboard scan codes as per USB spec 1.11
* plus some additional codes
*
* Created by MightyPork, 2016
* Public domain
*
* Adapted from:
* https://source.android.com/devices/input/keyboard-devices.html
*/
@photomattmills
photomattmills / Legacy code jabberwocky
Last active April 22, 2017 15:15 — forked from kerrizor/gist:6accb502be6bf93ee572
Legacy code jabberwocky , originally by @kerrizor, cloned here so I can find it in a year
’Twas brillig, and the slithy git repos
Did gyre and gimble in the wecks:
All mimsy were the borogoves,
And the mome raths Mutex.
“Beware the legacy code, my son!
The classes that bite, the patches that catch!
Beware the Gemfile.lock, and shun
The frumious monkey patch!”