-
Notifications
You must be signed in to change notification settings - Fork 10
Meeting Notes (2020 06 09)
Alex McLain edited this page Jun 14, 2020
·
5 revisions
Demo from Chris: What he's done the past week with animations
- This experimentation was done in
doughsay/rgb_matrix_simulator. - Rewrite animations to be black boxes. They have their own way to store opaque state.
- Changed pixel tuples to modules:
Key,LED,KeyWithLED - Key positions can be floats now, opposed to the integers they used to be. This allows a full-size keyboard layout to be represented, rather than just aligned grids of keys like the Keybow.
-
Animationhas been renamed toEffect(math-based animations). - Effects can accept a
key_pressedfunction to receive these types of events and alter animations based on them. - Discuss how to implement an effect that changes color every key press.
-
init_stateandnext_stateshould probably be callednewandrender, respectively. -
renderimplies "do not block inside this function call (a good thing). - This effect can be stateless if the random color is generated at the beginning of
render, because it's a fast operation. - On
key_pressedsetnext_callproperty to0so thatrendergets scheduled immediately. - In addition to handling key presses, we would also want to handle key codes (i.e. AFK). We would want to know which key was pressed on which layer.
-
TMK USB-USB adapter
- Turn a USB keyboard into a programmable keyboard.
- link
Choc low-profile mechanical keyboard switches
PCB design