14 Commits

Author SHA1 Message Date
Kieran Levin
e5d1f3cfd8 implement backlight and lower power matrix scanning
With this change the 3.3V rail gets down to 22mA
The backlight and power led will auto turn off when the keyboard
SLEEP# goes low, and will resume when the sleep pin goes high.

For some reason WFI does not sleep as long as I would expect.
Something is triggering interrupts constantly
that we need to figure out to save power.

Signed-off-by: Kieran Levin <ktl@frame.work>
2023-06-26 14:43:01 +08:00
Kieran Levin
e42ca81a49 add wfi to idle thread
WIth this change power is reduced by 3mA

Signed-off-by: Kieran Levin <ktl@frame.work>
2023-06-26 14:42:50 +08:00
Daniel Schaefer
0c1db9e3cb fl16: Add FN+C hotkey for backlight breathing
C because it's right above the backlight icon on the spacebar.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-06-19 15:43:11 +08:00
Daniel Schaefer
adfef9c2db fl16: Change backlight button to step, not toggle
Just like the 13inch Framework we want FN+Space to step through all
three brightness levels, instead of turning on/off.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-06-19 15:05:26 +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
cf7af0f894 framework: Update to 0.1.7
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-05-10 18:28:05 +08:00
Daniel Schaefer
7cd88457b1 framework/ansi: Fix 0 and equals keys
- Equals key (=) wouldn't do anything
- Zero (0) key would register as equals (=)

Issue: Missing entry in key matrix.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-05-09 15:25:11 +08:00
Daniel Schaefer
59ecef2f09 Update numpad/gridpad to 0.1.6 as well
Makes it easier to have everything on the same version.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-05-09 14:07:11 +08:00
Daniel Schaefer
7719f7a1e4 Release 0.1.6
Changes:

- Persist FN lock through powercycle
- Fix display switch button - would sometimes not work, only open
  windows menu

The changes only apply to ANSI/ISO/JIS layouts.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-05-03 17:16:57 +08:00
Daniel Schaefer
a8269765d7 Implement persistent FN lock
Stays locked even through power-cycle.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-05-03 17:16:18 +08:00
Daniel Schaefer
da053f2cdc fl16: Fix display switch
Works already but sometimes opens the windows start menu.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-05-03 17:13:22 +08:00
Daniel Schaefer
6c1da1a6ab fl16: Rename ansi via file
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-03-23 14:39:36 +08:00
Daniel Schaefer
373d3fc5ca fl16: Prepare for 0.1.5
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-03-23 13:33:42 +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