Commit Graph

25756 Commits

Author SHA1 Message Date
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
af4f40ddf6 is32flcommon: Allow custom PWM frequency config
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-10-30 09:25:46 +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
ae20af46ce fl16: Update version to 0.2.3
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-08-30 15:09:19 +08:00
Daniel Schaefer
b71e202389 fl16: Extend UEFI hotkey mode to all F keys
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-08-30 14:48:14 +08:00
Daniel Schaefer
bc80535a49 keyboards/framework/ansi: Move LEDs under artwork
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-08-30 14:48:14 +08:00
Daniel Schaefer
6ea4debb40 framework: Update debug to print voltage
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-08-30 14:48:13 +08:00
Daniel Schaefer
d7e315241c fixup! fl16/macropad: Add factory mode 2023-08-08 20:36:31 +08:00
Daniel Schaefer
a7e5bc820d fl16: Update to v0.2.2
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-08-08 20:35:43 +08:00
Daniel Schaefer
436a9cc02c fl16: Refactor factory mode
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-08-08 20:32:22 +08:00
Daniel Schaefer
ddfb8f4934 fl16/macropad: Add factory mode
Factory mode enables layer 2 which has a regular keycode mapped to every
key. This way the factory can easily test whether the keys are working
or not.
It can either be disabled again or it'll turn of itself when the
keyboard resets.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-08-08 20:21:32 +08:00
Daniel Schaefer
9c752c120e fl16: Fix white backlight not recovering after reset
If the backlight brightness was changed and the keyboard unplugged and
replugged, the lights would stay off. They should come back to the
previous value, which will happen automatically but the code would
override.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-08-07 19:42:18 +08:00
Daniel Schaefer
ca08e9373a fl16: Validate serial number with CRC32B checksum
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-08-07 19:42:18 +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
7c2001a515 fl16: Add advanced layout
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-07-21 16:21:25 +08:00
Daniel Schaefer
21fd6d199c fl16: Implement BIOS mode
When enabled, overrides whatever keyboard layout and always makes the
keys in the physical location of F2, F10 and F12 send the keycodes for
F2/F10/F12.
BIOS is supposed to enable this right after USB enumeration, so that the
BIOS hot keys always work, even if FN-lock is enabled or the user has
remapped their keyboard.
BIOS mode is exited either by the keyboard resetting or by sending the
disable message.

How to send:

1. Find USB devices with Framework VID 0x32AC
2. Filter by interface number == 0x01 and usage page == 0xFF60
3. Set HID report with the following body:

Enable:  0x00 0x0B 0x05 0x01 0xFE 0xFE ... pad the 32 byte buffer with 0xFE
Disable: 0x00 0x0B 0x05 0x00 0xFE 0xFE ... pad the 32 byte buffer with 0xFE
Where the first byte is the report ID 0x00

TODO:

- [ ] Test on ANSI keyboard
- [x] Test on ISO keyboard
- [ ] Test on JIS keyboard
- [ ] Add method to get current status

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-07-21 15:56:46 +08:00
Daniel Schaefer
4e2e213040 fixup! fl16: On sleep pin only turn off backlight 2023-07-21 15:49:14 +08:00
Daniel Schaefer
1de95cd8af fl16: Enable and force NKRO for all keyboards
Seems to work fine on our UEFI.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-07-21 15:13:59 +08:00
Daniel Schaefer
cf07d6f01f fl16: Add custom layout for Esther
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-07-21 15:12:35 +08:00
Daniel Schaefer
2ab88a90f4 fl16: Upstream merge fix
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-07-21 10:10:08 +08:00
Daniel Schaefer
27f917f945 fl16: On sleep pin only turn off backlight
Other low power states should be handled perfectly fine by USB suspend,
since this is now fixed in chibios.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-07-21 10:09:22 +08:00
Daniel Schaefer
1fe412facf Merge remote-tracking branch 'upstream/develop' into fl16-sleep-fix 2023-07-21 08:34:44 +08:00
Daniel Schaefer
7c414248c5 fl16: Set RGB current limit to stay under 500mA
Also reduces noise even further.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-07-20 19:00:11 +08:00
Daniel Schaefer
c230a834cb fl16: Update to v0.2.1
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-07-20 14:01:28 +08:00
Daniel Schaefer
1a44117a70 fl16: Fix conflict of uf2conv
Or maybe intended change? But I don't like it. I want to have it loop to
wait for a new device.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-07-20 13:55:51 +08:00
Daniel Schaefer
e1d4878627 fl16: Disable unused SW pins in RGB LED controller
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-07-20 13:43:10 +08:00
QMK Bot
0056984506 Merge remote-tracking branch 'origin/master' into develop 2023-07-20 05:16:56 +00:00
James Young
5d0d39b522
HolySwitch Lightweight65 Community Layout Support (#21550)
* [chore] rename LAYOUT to LAYOUT_65_ansi_blocker

* [enhancement] enable Community Layout support
2023-07-19 22:16:17 -07:00
QMK Bot
37b2ab4874 Merge remote-tracking branch 'origin/master' into develop 2023-07-18 03:48:46 +00:00
Alfredo Colas Gullon
b017e755c5
Fix compilation of lily58 rgb_state_reader (#21502) 2023-07-18 04:48:11 +01:00
QMK Bot
d095fe4436 Merge remote-tracking branch 'origin/master' into develop 2023-07-18 02:48:51 +00:00
James Young
5252f7f697
Keychron V4 Touch-Up (#21545)
* Keychron V4 ANSI: rename LAYOUT_ansi_61 to LAYOUT_60_ansi

* Keychron V4 ANSI: enable Community Layout support

* Keychron V4 ISO: correct layout data

Move position [3, 1] up by 0.25u.

* Keychron V4 ISO: rename LAYOUT_iso_62 to LAYOUT_60_iso

* Keychron V4 ISO: enable Community Layout support
2023-07-17 19:48:11 -07:00
QMK Bot
77514e037d Merge remote-tracking branch 'origin/master' into develop 2023-07-17 20:48:49 +00:00
James Young
30f52ea770
GMMK2 65% ANSI Touch-Up (#21544)
* [chore] correct layout data

* [chore] rename LAYOUT to LAYOUT_65_ansi_blocker

Also adds a layout alias so as to not have to edit the user keymaps.

* [enhancement] enable Community Layout support
2023-07-17 13:48:15 -07:00
QMK Bot
2ce895d80a Merge remote-tracking branch 'origin/master' into develop 2023-07-17 17:32:07 +00:00
James Young
f1aabbfdfa
AliceH66 Pianoforte Hotswap Touch-Up (#21542)
* [refactor] rename LAYOUT_tkl_ansi to LAYOUT_tkl_f13_ansi

* [enhancement] enable Community Layout support

* [chore] correct layout data

Correct the position of the spacebar.
2023-07-17 10:31:27 -07:00
Stefan Kerkmann
a992dc8c08
[Core] Update ChibiOS-Contrib (#21553) 2023-07-17 19:55:31 +10:00
Ryan
da2d2f947d
quantum: remove direct quantum.h includes (#21507) 2023-07-16 23:42:56 +10:00
Ryan
b9e5895184
Eliminate TMK_COMMON_* in makefiles (#21517) 2023-07-15 17:27:32 +10:00
Daniel Schaefer
cc3f63e8e3 Merge remote-tracking branch 'upstream/master' into fl16-july-merge 2023-07-14 15:55:57 +08:00
Daniel Schaefer
b49c27a492 fl16: Rename remaining gridpad files
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-07-14 15:42:29 +08:00
QMK Bot
e5d99ec6af Merge remote-tracking branch 'origin/master' into develop 2023-07-14 07:23:13 +00:00
tan-t
fa0b4511dd
[Keyboard] add mothwing (#19342)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: jack <0x6a73@protonmail.com>
2023-07-14 00:22:38 -07:00
Joel Challis
28f29c63cb
Prepare ymdk/ymd75 for rev4 (#21484) 2023-07-14 04:15:59 +01:00
Daniel Schaefer
a6e222942f fixup! fl16: Change backlight PWM frequency to 24kHz 2023-07-14 10:02:07 +08:00
Daniel Schaefer
2f5d5d692d fl16: Fix activating virtual numlock layer
Would stay in base layer even when numlock was toggled.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-07-14 09:42:22 +08:00
Daniel Schaefer
db5b134239 fl16: Release 0.2.0
0.1.10 is not allowed as part of bcdDevice

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-07-14 09:32:10 +08:00
Daniel Schaefer
88736837b2 fl16: Release v0.1.10
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-07-13 23:49:51 +08:00
Daniel Schaefer
3cc2b16d2f fl16: Build on fl16-* branches
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-07-13 23:37:31 +08:00
Daniel Schaefer
0bb3443cb5 fl16: Sync numlock with numlock layers
Otherwise we might get stuck in numlock disabled state and wouldn't be
able to type numbers anymore or get out of the mode.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-07-13 23:36:29 +08:00