Skip to content

Instantly share code, notes, and snippets.

View Matsukii's full-sized avatar

まてす Matsukii

View GitHub Profile
@Matsukii
Matsukii / usb_hid_keys.h
Created March 20, 2021 20:54 — 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
*/
@Matsukii
Matsukii / key-codes.json
Created January 6, 2021 17:59 — forked from codingcarpenter/key-codes.js
JavaScript KeyCodes in a JSON file.
{
"0": 48,
"1": 49,
"2": 50,
"3": 51,
"4": 52,
"5": 53,
"6": 54,
"7": 55,
"8": 56,