Commit Graph

25590 Commits

Author SHA1 Message Date
QMK Bot
bbe58ddb21 Merge remote-tracking branch 'origin/master' into develop 2023-08-05 00:16:49 +00:00
Ryan
049a4baec0
Contributing docs: add note to make sure repo is up to date (#21694) 2023-08-05 10:16:10 +10:00
Ryan
0b802defd4
haptic: further naming cleanups (#21682) 2023-08-04 01:16:16 +01:00
QMK Bot
c9fa2006d9 Merge remote-tracking branch 'origin/master' into develop 2023-08-03 08:04:04 +00:00
Hugh Rawlinson
37b62606ce
Add VIA layout for Dactyl Manuform 5x6 (#21649)
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2023-08-03 01:03:29 -07:00
QMK Bot
f1f0e6a7b3 Merge remote-tracking branch 'origin/master' into develop 2023-08-03 08:03:16 +00:00
3geek14
aa8d1c5e07
Clarify custom keycode enum requirement for PRs (#21648) 2023-08-03 01:02:40 -07:00
SmollChungus
f0542894da
[Keyboard] Add PW88 keyboard (#21482)
Co-authored-by: Drashna Jaelre <drashna@live.com>
2023-08-02 21:20:48 -07:00
QMK Bot
61416285f4 Merge remote-tracking branch 'origin/master' into develop 2023-08-03 00:04:04 +00:00
Ryan
19536b8190
moondrop/dash75: fix keymap (#21680) 2023-08-03 01:03:25 +01:00
Stefan Kerkmann
e8e989fd7a
[Bug] Restore usb suspend wakeup delay (#21676)
* Respect USB_SUSPEND_WAKEUP_DELAY on wakeup

This delay wasn't honored after removing `restart_usb_driver` from the
suspend and wakeup handling. It is now re-introduced in the appropriate
spot, namely after issuing a remote wakeup to a sleeping host.

* Remove old, unused and commented testing code
2023-08-02 23:42:57 +01:00
QMK Bot
d232f60c01 Merge remote-tracking branch 'origin/master' into develop 2023-08-02 17:05:36 +00:00
Synth and Keys
34a2f14274
[Keyboard] Add Bento Box macropad (#20521) 2023-08-02 10:05:00 -07:00
Nebuleon
f0c9453083
audio: Don't play the first note of zero-note melodies (#21661) 2023-08-02 17:07:43 +01:00
Stefan Kerkmann
b2d068d1aa
Fix mouse-key spamming empty reports (#21663)
Problem:

`mousekey_task` spams empty hid reports with when a mouse key is
pressed, causing resource exhaustion in the USB mouse endpoint.

Cause:

The check whether or not to send a new mouse report would always
evaluate to true if a mouse key is pressed:

1. `mouse_report` has non-zero fields and `tmpmr` is a copy of this
   fields.
2. `mouse_report` is set to zero, `tmpmr` has now non-zero fields.
3. `has_mouse_report_changed` compares the two and evaluates to true
4. a mouse report is sent.

Fix:

The check condition of `has_mouse_report_changed` will evaluate any
empty record as unchanged, as mouse report data is relative and doesn't
need to return to zero. An empty report will still be send by
`register_mouse` on release of all mouse buttons.
2023-08-02 13:47:25 +02:00
James Young
7fbc4153e8
Automata02 Alisaie Develop Touch-Up (#21630) 2023-08-02 01:15:56 -07:00
James Young
eab315e935
Fix Dynamic Macro Compilation for avr-gcc 5.4.0 + Linux (#21653)
Co-authored-by: Joel Challis <git@zvecr.com>
2023-08-01 22:49:58 -07:00
QMK Bot
242b8c7f3d Merge remote-tracking branch 'origin/master' into develop 2023-08-01 03:14:59 +00:00
Sergey Vlasov
d16d87c2f3
Keychron Q11 ISO: Fix left Shift breakage due to a wrong matrix mask (#21655)
Keychron Q11 uses `matrix_mask` to mask away the matrix location used
for `SPLIT_HAND_MATRIX_GRID` (otherwise the keyboard will constantly
generate a wakeup request whenever the host enters suspend).  However,
the value of `matrix_mask` is actually chosen to mask away all unused
locations, but it was apparently generated for the ANSI board and
therefore masks away the left Shift key on the ISO board, breaking the
functionality of that key.

Fix `matrix_mask` to make the masking work as intended:

- Set the `[4, 1]` bit to 1; this is the matrix location for the ISO
  left Shift.

- Set the `[2, 5]` bit to 0; this is actually the matrix location which
  corresponds to `#define SPLIT_HAND_MATRIX_GRID A2, A15` on the left
  side, which was intended to be masked; apparently the wakeup problem
  does not happen due to `SPLIT_HAND_MATRIX_GRID_LOW_IS_RIGHT`, so the
  left half actually has that matrix location open.  On the right side
  `A2, A15` is `[9, 6]`, which was masked off correctly.
2023-08-01 04:14:20 +01:00
Joel Challis
27ff1d4153
Remove layout aliases from keyboard_aliases.hjson (#21658) 2023-08-01 01:54:28 +01:00
James Young
5369d806bc
AMJKeyboard AMJ84 Develop Touch-Up (#21645)
* [style] refactor default keymap, phase 1

- grid-align keycodes
- use QMK-native keycode aliases
- update box drawings

* [refactor] refactor default keymap, phase 2

- move position [5, 8] to the top row
  - update keycode grid alignment

* [refactor] refactor default keymap, phase 3

- remove matrix position [5, 9]
2023-07-31 23:38:46 +01:00
Ryan
6018b56c55
Remove old OLED API code (#21651) 2023-07-31 15:43:10 +01:00
Ryan
f407d90598
keycode aliases: work around ChibiOS ch.h include guard (#21497) 2023-07-31 09:35:06 +10:00
Ryan
cc3bd728f0
Fix layout offsets for a handful of boards (#21636) 2023-07-31 09:34:40 +10:00
Ryan
030511ece3
CLI: Improve error messages when layout key matrix row/col is OOB (#21640) 2023-07-31 09:34:19 +10:00
QMK Bot
fa4d51dab7 Merge remote-tracking branch 'origin/master' into develop 2023-07-30 04:23:13 +00:00
3geek14
14e14e9ab8
Correct "less than" to "up to" in squeezing_avr?id=layers (#21639) 2023-07-30 14:22:39 +10:00
Ryan
571b8bac82
LED Matrix: driver naming cleanups (#21580) 2023-07-29 15:25:00 +10:00
Ryan
b4a7b9253a
Bluetooth: driver naming cleanups (#21624) 2023-07-29 15:16:14 +10:00
Ryan
4af6f1df06
quantum.h: clean up process_keycode includes (#21579) 2023-07-29 15:05:15 +10:00
QMK Bot
2db947fda6 Merge remote-tracking branch 'origin/master' into develop 2023-07-28 14:56:52 +00:00
lalalademaxiya1
03b3840942
Updated info.json of c2 pro (#21581) 2023-07-28 15:54:32 +01:00
QMK Bot
00cc75560f Merge remote-tracking branch 'origin/master' into develop 2023-07-28 06:49:18 +00:00
Leon Anavi
5f0eab959f
[Keyboard] Add ANAVI Macro Pad 12 (#21547) 2023-07-27 23:48:40 -07:00
QMK Bot
ba10b87063 Merge remote-tracking branch 'origin/master' into develop 2023-07-28 06:45:33 +00:00
Álvaro Cortés
191b98990c
[Keymap] update colemad crkbd (corne) keyboard (#21515)
Co-authored-by: Álvaro Cortés Devesa <alvarocortesdevesa@Alvaros-MacBook-Pro.local>
2023-07-27 23:44:39 -07:00
QMK Bot
103199dd81 Merge remote-tracking branch 'origin/master' into develop 2023-07-28 06:41:13 +00:00
Its TLeo
de2b180b60
[Keyboard] add itstleo40 PCB (#21536)
Co-authored-by: jack <0x6a73@protonmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
2023-07-27 23:40:38 -07:00
Stefan Kerkmann
32174abcfa
Update keyboard report descriptor for USB compliance (#21626)
Running the "HID Tests" suite of the USB 3 Command Verifier (USB3CV)
tool resulted in the following error:

(HID: 3.2.61) The report descriptor returned in response to a
GetDescriptor(Report) must be compliant with the HID specification.

Byte Number:   37h (  55d)
Data Field: 91 02
Mnemonic:  Output
Value: (Variable)
Errors: Error:   LOGICAL MAX MUST be bounded by Report Size

The error stems from the fact that logical minimum and maximum are
global items, which means that the next item in a report descriptor
inherits the value from the previously set value. In this case the
status leds item inherited the logical minimum (=0) and maximum (=255)
from the keycodes item. As the status leds set a report size of 1 bit,
wich can only hold a boolean, it becomes clear that this range would
never fit.

The fix is straightforward, we just define a appropriate logical maximum
(=1), the mismatch is solved and our keyboard now passes the compliance
tests. Defining the logical minimum is redundant in this case but is
kept to form a logical block.
2023-07-28 01:05:01 +01:00
QMK Bot
3a413e4bad Merge remote-tracking branch 'origin/master' into develop 2023-07-27 23:21:01 +00:00
era
1112a1071e
[Keyboard] Add Divine keyboard (#21593) 2023-07-27 16:20:29 -07:00
Stefan Kerkmann
fca71f8d31
[Keyboard] Add STM32f3 Discovery onekey (#21625) 2023-07-28 09:19:53 +10:00
Nebuleon
96789a7cb0
Unify MIDI note calculation with the audio feature's algorithm (#21588) 2023-07-27 16:14:34 -07:00
Ryan
727b1d1597
Unicode: move keycode aliases to a separate header (#21613) 2023-07-27 16:29:22 +01:00
QMK Bot
a954a72103 Merge remote-tracking branch 'origin/master' into develop 2023-07-27 15:28:58 +00:00
Sergey Vlasov
4f09525248
helix/rev3_4rows, helix/rev3_5rows: Fix build with converters (#21608)
The code for Helix rev3 boards could not be built with, e.g.,
`CONVERT_TO=rp2040_ce` due to invalid `#include <stdio.h>` in the
keyboard level `config.h` (apparently the AVR version of that file
contains guards against usage in assembly code, which was hiding the
bug).  Move `#include <stdio.h>` to the C sources which need it.
2023-07-27 16:28:16 +01:00
QMK Bot
f3a7cd5573 Merge remote-tracking branch 'origin/master' into develop 2023-07-27 04:21:43 +00:00
Duncan Sutherland
ce11427b11
Amend documented RGBLIGHT_HUE_STEP default value (#21617) 2023-07-26 21:21:11 -07:00
Nebuleon
e971ce290c
Remove needless precision in additive DAC sample generation (#21498) 2023-07-26 21:06:14 -07:00
Nebuleon
9bc85ff5af
Reduce needless precision in audio note frequency calculation (#21496) 2023-07-26 21:05:26 -07:00