Onshape_Macropad
Code for the onshape macropad.
This is a macropad built using the Pimoroni Keybow and the KPrepublic Enclosure.
Assembly steps are as follows: 0. Order parts and wait
- Install keyswitches into support bracket
- Place kebow main board behind keyswitches
- Press board into keyswitches until seated.
- Place bracket into enclosure and screw in screws
- Place back on enclosure and screw in screws
- Connect to computer and copy over provided code to code.py
- Save, then unplug and replug in macropad
- Start up Onshape and work on designs.
__
Initial Layout w/ default code from Pimoroni
(as viewed looking straight at it)
3 7 b f
2 6 a e
1 5 9 d
0 4 8 c
__
Intended macro codes
e, h, v, i
S+F, c, g, l
C+C, C+V, d, s+e
S+5, S+1, SB, ESC
__
Legend:
C+ = Ctrl
S+ = Shift
SB = spacebar
Esc = escape
__
Colors (by row)
Green
Red
Yellow
Blue
__
The colors are shown only when the key is pressed.
This makes use of the Adafruit HID Keyboard codes.