Commit Graph

10 Commits

Author SHA1 Message Date
Daniel Schaefer
8d8f9c7f6f fl16: Create ANSI Copilot as separate PID
It needs different firmware from the factory, so we need to distinguish
it from software in order to be able to update it correctly.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2025-08-01 17:08:09 +08:00
Daniel Schaefer
3c9f93321d fl16: use sleep_l pin to indicate only lid state
Let the keyboard figure out by itself whether the system is asleep by
looking at the USB connection state.

|            | USB Active      | USB Suspend     |
| Lid Open   | LED, keys       | No LED, keys    |
| Lid closed | No LED, no keys | No LED, no keys |

=> lid_open => keys registered
=> lid_open && !suspended => LEDs on

After waking from sleep, backlight does not turn back on.
Remove the custom backlight/sleep logic. Don't try to outsmart the core
quantum logic, let it handle the hard stuff. Our code just
suspends/wakes the keyboard.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2025-06-18 14:05:17 +08:00
Daniel Schaefer
1e6896999f fl16: Don't turn off LEDs in USB suspend
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-11-17 19:04:24 +08:00
Daniel Schaefer
ff5e181afd fl16: Enable higher pwm frequency on RGB keyboard
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-10-30 09:26:33 +08:00
Daniel Schaefer
f30e12adcf framework: Increase to 10 layers in VIA
Allow more flexibilty and some layers can't be used because they're
needed for FN and FN lock.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-10-26 13:57:06 +08:00
Daniel Schaefer
8093dfeb18 fl16: Increase EEPROM size and reserve last 4K sector
More space, more wear leveling and don't use sector that's reserved for
the serial number.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-08-07 19:42:18 +08:00
Daniel Schaefer
d4005cf3c7 fl16: Change backlight PWM frequency to 24kHz
The default of 2048Hz causes loud audible noise.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-07-13 20:23:38 +08:00
Daniel Schaefer
ad0354f638 fl16: Rename gridpad to macropad
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-07-11 04:44:44 +08:00
Daniel Schaefer
1506793f38 fl16: Don't periodically print scan rate
Useful for debugging but causes constant USB traffic, preventing the
host from going to sleep.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-06-19 14:16:55 +08:00
Daniel Schaefer
966f2e7822 Rename lotus to framework
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-03-23 13:29:15 +08:00