kmk_firmware/kmk/common
Josh Klar 392f8d7e51
Abstract away platform-dependent pin references
Quote taken straight from the docstring of get_pin:

>Cross-platform method to find a pin by string.
>
>The pin definitions are platform-dependent, but this provides
>a way to say "I'm using pin D20" without rolling a D20 and
>having to actually learn MicroPython/CircuitPython and the
>differences in how they handle pinouts.
>
>This also makes the keymap sanity checker actually work for
>CircuitPython boards, since it's not possible in CPY to
>define a module stub for `board` that uses Passthrough
>natively (which is how the MicroPython stub worked originally)
2018-10-07 01:40:09 -07:00
..
abstract Support KEYBOARD and CONSUMER modes of HID on Feather M4 Express 2018-10-07 00:45:32 -07:00
macros Update various internal key handling stuff to be CircuitPython-compatible 2018-10-07 00:45:35 -07:00
__init__.py A basic 2x2 matrix that can auto-flash to a Feather with a compatible bootloader 2018-09-02 20:07:07 -07:00
consts.py Support KEYBOARD and CONSUMER modes of HID on Feather M4 Express 2018-10-07 00:45:32 -07:00
event_defs.py Update various internal key handling stuff to be CircuitPython-compatible 2018-10-07 00:45:35 -07:00
internal_state.py Support KEYBOARD and CONSUMER modes of HID on Feather M4 Express 2018-10-07 00:45:32 -07:00
keycodes.py Make KC object lazy but cached to avoid huge AttrDict compilation (most keycodes probably are not used anyway) 2018-10-06 03:28:17 -07:00
kmktime.py Update various internal key handling stuff to be CircuitPython-compatible 2018-10-07 00:45:35 -07:00
pins.py Abstract away platform-dependent pin references 2018-10-07 01:40:09 -07:00
types.py Abstract away platform-dependent pin references 2018-10-07 01:40:09 -07:00
util.py Update various internal key handling stuff to be CircuitPython-compatible 2018-10-07 00:45:35 -07:00