aboutsummaryrefslogtreecommitdiff
path: root/matrix.c
AgeCommit message (Collapse)AuthorFilesLines
2021-05-04optimized the LED and buzzer wiringRobin Haberkorn1-2/+2
* since we use timer 3 exclusively for the buzzer but trigger the pin using an IRQ handler, there is no longer any need to occupy a high-resolution pin for the buzzer. * PD5 became a new high resolution LED * PD0 became the new buzzer pin * rearranged the pins used for the different LEDs so that the distribution of high-resolution LEDs is symmetric * Timer 0 is no longer used/modified by setting LEDs. This avoids some workarounds as timer 0 is also used by tmk's timer module. * The song routines could be slightly improved using the timer module. * documented the LED and buzzer pinout in README
2021-04-29fixed some memset() and document how to flash firmwares manuallyRobin Haberkorn1-2/+7
2021-02-14fixed "security key" (Bediensicherungsbaugruppe) handlingRobin Haberkorn1-37/+58
* the keypress events were swallowed due to debouncing * instead, we process the corresponding bits in the keyboard matrix now only after debouncing. * we now generate a short keypress event (immediately followed by a keyrelease) not only when removing, but also when inserting the physical key. * when removing the key, F18 (in Unimap's geometry, by default mapped to RCTRL) is additionally pressed. This can be used to discern removing from inserting. In the common case that you own only one physical key, you can remap F18 to the removal action and F19 (or whatever corresponds to your key) to the insertion action.
2021-02-13added the K7637 firmwareRobin Haberkorn1-0/+337