Commit Graph

23604 Commits

Author SHA1 Message Date
Jonathan Moallem
c1aef03e98
Rectified ins/del layout macro ordering of Keychron Q1 ANSI (#19560) 2023-01-13 17:38:50 +11:00
Tom Barnes
0cff636739
weact docs patch re "security vulnerability" (#19572) 2023-01-12 22:29:25 +11:00
Christian Brauner
2b5e5d9047
[Keymap] Add brauner preonic layout (#19444) 2023-01-12 01:56:12 -08:00
Ramon Imbao
62eba54092
[Keyboard] Add Plywrks Ji-Eun (#18276) 2023-01-11 23:45:08 -08:00
James Young
74d8f16c1d
Keychron V3: correct layout data (#19567)
* keychron/v3/ansi_encoder: correct layout data

* keychron/v3/iso_encoder: correct layout data
2023-01-11 22:33:30 +00:00
James Young
377f87cb7e
Keychron V1: correct layout data for ANSI versions (#19558)
* keychron/v1/ansi: correct layout data

* keychron/v1/ansi_encoder: correct layout data
2023-01-11 12:50:11 -08:00
Drashna Jaelre
a1676c3b8c
[Keyboard] Work Louder updates for via v3 (#19555) 2023-01-10 16:35:33 -08:00
James Young
5e5b19cf94
Keychron S1 ANSI Layout Touch-Up (#19556) 2023-01-10 15:09:09 +00:00
Daniel Schaefer
2ce52c5b54 lotus: keypress command just does RGB handling
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-01-10 17:58:39 +08:00
Daniel Schaefer
e7061ed797 lotus: Update matrix to use NO_LED
Clearer than magic number.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-01-10 17:53:33 +08:00
squarecut
aba67829e9
[Keymap] Kbdfans Tiger 80 keymap & Planck keymap (#19428)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Abhishek Malavalli <abhishek.malavalli@fphcare.co.nz>
2023-01-10 01:05:31 -08:00
Daniel Schaefer
5b4f836e8c lotus: Fix Key Matrix to LED Index
Now the key press based animations work!

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-01-10 16:26:09 +08:00
Filip Paryż
4d83583410
[Keymap] Updated Freoduo keymap (#19351) 2023-01-09 22:38:54 -08:00
Daniel Schaefer
78e762028f lotus: Remove factory commands that overlap with VIA
Can use qmk_hid for those now, yay!

Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2023-01-10 11:29:40 +08:00
Drashna Jaelre
90fd08bf4b
[Bug] Use correct functions for RGB Matrix support in VIA (#19554) 2023-01-10 03:21:38 +00:00
Daniel Schaefer
30328f6f57 lotus: Enable RGB effects that react to keypress
Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2023-01-10 10:18:35 +08:00
Dennis Kruyt
caca029e12
[Keyboard] add YMDK40 AIR40 (#19276)
Co-authored-by: jack <0x6a73@protonmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
2023-01-09 16:48:11 -08:00
Manna Harbour
0becd33c4d
[keyboard] Enable community layout support (#19499) 2023-01-09 23:50:18 +00:00
Nick Brassel
01de98428c
[Keychron Q5] Build failures: recursive function call. (#19553) 2023-01-10 08:33:28 +11:00
Nick Brassel
2891d901c3
New ChibiOS SVN URL, added new release. (#19493) 2023-01-10 07:19:20 +11:00
Joel Challis
1c024bfa91
Add some missing layout data (#19539) 2023-01-08 15:26:37 +00:00
Joel Challis
f6023a36bc
Remove invalid pin_compatible config from defaults (#19512) 2023-01-07 17:07:19 +00:00
Joel Challis
c5e3275299
Fix handwired/onekey/kb2040 WS2812 pin (#19517) 2023-01-07 17:02:40 +00:00
Daniel Schaefer
920b502077 lotus: Reduce sleep before ADC read
5us seems enough sleep. Still works

Also need to measure delay not between each ADC scan but between each
matrix scan! That's what matters to the user.

Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2023-01-07 22:49:16 +08:00
Daniel Schaefer
8d392644b0 lotus: Remove pins that we don't use
Now if you grep GP0 through GP29 they'll all only show for the exact
uses we need them for.

Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2023-01-07 22:25:27 +08:00
Daniel Schaefer
48deca2b32 lotus: Add host SLEEP# detection
Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2023-01-07 22:17:19 +08:00
Daniel Schaefer
50136360e7 lotus: Auto start ADC conversion
Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2023-01-07 21:58:51 +08:00
Daniel Schaefer
b192ff0c3e lotus: Fix print_float
Would print 3.09 as 3.9. Need to add leading 0.

Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2023-01-07 21:53:35 +08:00
Daniel Schaefer
1413dfa26e lotus: Add some comments
Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2023-01-07 21:47:46 +08:00
Daniel Schaefer
e37039c23e lotus: Add two missing columns
Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2023-01-07 21:35:35 +08:00
Daniel Schaefer
12c192c323 lotus: Integrate ADC reading into matrix logic
Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2023-01-07 21:35:16 +08:00
Daniel Schaefer
72247be69f lotus: Clean up ADC code a bit
Should now work on non-pi and prints:

```
...
Framework Computer Inc:Lotus Keyboard:1: scan
Framework Computer Inc:Lotus Keyboard:1: 5 ms (200 Hz)
Framework Computer Inc:Lotus Keyboard:1: Temperature: 18.71
Framework Computer Inc:Lotus Keyboard:1: ADC Voltage: 0.1
Framework Computer Inc:Lotus Keyboard:1: scan
Framework Computer Inc:Lotus Keyboard:1: 6 ms (166 Hz)
Framework Computer Inc:Lotus Keyboard:1: Temperature: 18.24
Framework Computer Inc:Lotus Keyboard:1: ADC Voltage: 0.1
Framework Computer Inc:Lotus Keyboard:1: scan
Framework Computer Inc:Lotus Keyboard:1: 6 ms (166 Hz)
...
```

Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2023-01-07 20:58:38 +08:00
Daniel Schaefer
37aae1748e lotus: Implement quick ADC reading
Has to be started manually:
hidapitester --vidpid 32ac/0012 --usagePage 0xFF60 --usage 0x0061 -v --open -l33 --send-output 0,11,3

Will print:

```
Framework Computer Inc:Lotus Keyboard:1: After handle_samplescan
Framework Computer Inc:Lotus Keyboard:1: prev: 959345
Framework Computer Inc:Lotus Keyboard:1: curr: 959352
Framework Computer Inc:Lotus Keyboard:1: 7 ms
Framework Computer Inc:Lotus Keyboard:1: 142 Hz
Framework Computer Inc:Lotus Keyboard:1: letsgo
Framework Computer Inc:Lotus Keyboard:1: adc_end_callback
Framework Computer Inc:Lotus Keyboard:1: After adcConvert
Framework Computer Inc:Lotus Keyboard:1: Raw ADC samples: 1004, 892, 1003, 892
Framework Computer Inc:Lotus Keyboard:1: Temp: 19.64
Framework Computer Inc:Lotus Keyboard:1: ADC Voltage: 0.80
```

Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2023-01-07 19:49:24 +08:00
Daniel Schaefer
e1997affa0 lotus: Fix non-pico build and GPIOs
Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2023-01-07 17:01:33 +08:00
Daniel Schaefer
877e2f9ace lotus: Implement ADC on correct pin
Verified with potentiometer knob. Voltage goes from 0.1V to 3.1.

Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2023-01-07 16:52:28 +08:00
Daniel Schaefer
4eb191c845 lotus: Add ifdef for pico variant
Pico doesn't expose all the pins so it'll be a bit different.
Just for prototyping.

Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2023-01-07 13:34:25 +08:00
Daniel Schaefer
8990a17d32 fixup! lotus: Add RGB factory commands 2023-01-07 13:31:44 +08:00
dependabot[bot]
97910fac06
Bump anothrNick/github-tag-action from 1.58.0 to 1.61.0 (#19519)
Bumps [anothrNick/github-tag-action](https://github.com/anothrNick/github-tag-action) from 1.58.0 to 1.61.0.
- [Release notes](https://github.com/anothrNick/github-tag-action/releases)
- [Commits](https://github.com/anothrNick/github-tag-action/compare/1.58.0...1.61.0)

---
updated-dependencies:
- dependency-name: anothrNick/github-tag-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-06 21:45:23 +00:00
Daniel Schaefer
b56ffc8920
docs: Fix IS31FL3743A driver name (#19518)
Incorrectly documented.
See: `builddefs/common_features.mk`
2023-01-06 17:12:30 +00:00
Daniel Schaefer
229d5eebe2 fixup! lotus: Add RGB factory commands 2023-01-06 18:26:10 +08:00
Daniel Schaefer
e61c85c212 lotus: Add RGB factory commands
Example to enable RGB:

```
hidapitester --vidpid 32ac/0012 --usagePage 0xFF60 --usage 0x0061 \
  --open -l32 --send-output 0,11,4
```

Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2023-01-06 18:11:39 +08:00
Daniel Schaefer
aef9c8a91b lotus: Fix RGB LED order
This makes them work with the correct x/y position.

Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2023-01-06 18:02:55 +08:00
Daniel Schaefer
dd1de24050 lotus: Update gridpad LED positions
New schematic!

Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2023-01-06 17:05:23 +08:00
Daniel Schaefer
f56d8cf742 lotus: Fix RGB
Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2023-01-06 15:41:11 +08:00
Daniel Schaefer
02a496cad2 fixup! lotus: Configure I2C 2023-01-06 09:43:48 +08:00
Daniel Schaefer
f0d6021e84 lotus: Enable RGB effects
Same as Keychron Q1. Can adjust.

Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2023-01-06 08:30:37 +08:00
Daniel Schaefer
15def1ac4b lotus: RP2040 UART driver isn't ready yet
https://github.com/qmk/qmk_firmware/issues/17744

Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2023-01-06 08:29:48 +08:00
Sergey Vlasov
4a7d65b9d7
Fix MATRIX_COLS and MATRIX_ROWS generation for custom matrix (#19508)
The code which generated the MATRIX_COLS and MATRIX_ROWS defines from
the JSON information was checking the presence of the `matrix_pins` key,
which may not exist if a custom matrix is used.  Check the presence of
`matrix_size` instead.
2023-01-05 23:40:53 +00:00
dependabot[bot]
64508caa76
Bump anothrNick/github-tag-action from 1.57.0 to 1.58.0 (#19509)
Bumps [anothrNick/github-tag-action](https://github.com/anothrNick/github-tag-action) from 1.57.0 to 1.58.0.
- [Release notes](https://github.com/anothrNick/github-tag-action/releases)
- [Commits](https://github.com/anothrNick/github-tag-action/compare/1.57.0...1.58.0)

---
updated-dependencies:
- dependency-name: anothrNick/github-tag-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-05 19:32:57 +00:00
Paul Massendari
84a642266c
A comma was missing (#19507) 2023-01-05 15:12:46 +00:00