summaryrefslogtreecommitdiff
path: root/keyboards/handwired/promethium
AgeCommit message (Collapse)Author
2022-12-09Refactor some led_set_kb instances (#19179)Joel Challis
* Refactor some led_set_kb instances * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
2022-11-08Normalise output selection (Bluetooth) keycodes (#19004)Ryan
2022-10-31Normalise Unicode keycodes (#18898)Ryan
* `UC_MOD`/`UC_RMOD` -> `UC_NEXT`/`UC_PREV` * `UNICODE_MODE_*` -> `QK_UNICODE_MODE_*` * `UC_MAC` -> `UNICODE_MODE_MACOS` * `UC_LNX` -> `UNICODE_MODE_LINUX` * `UC_WIN` -> `UNICODE_MODE_WINDOWS` * `UC_BSD` -> `UNICODE_MODE_BSD` * `UC_WINC` -> `UNICODE_MODE_WINCOMPOSE` * `UC_EMACS` -> `UNICODE_MODE_EMACS` * `UC__COUNT` -> `UNICODE_MODE_COUNT` * `UC_M_MA` -> `UC_MAC` * `UC_M_LN` -> `UC_LINX` * `UC_M_WI` -> `UC_WIN` * `UC_M_BS` -> `UC_BSD` * `UC_M_WC` -> `UC_WINC` * `UC_M_EM` -> `UC_EMAC` * Docs * Update quantum/unicode/unicode.h
2022-10-21Fix build failures uncovered by #18753 (#18789)Ryan
2022-10-19Remove legacy Debug keycode (#18769)Ryan
* `DEBUG` -> `DB_TOGG`, default-ish keymaps * `DEBUG` -> `DB_TOGG`, user keymaps * `DEBUG` -> `DB_TOGG`, community layouts * `DEBUG` -> `DB_TOGG`, userspace * `DEBUG` -> `DB_TOGG`, docs & core
2022-10-16Remove legacy keycodes, part 6 (#18740)Ryan
* `KC_RSHIFT` -> `KC_RSFT` * `KC_RCTRL` -> `KC_RCTL` * `KC_LSHIFT` -> `KC_LSFT` * `KC_LCTRL` -> `KC_LCTL`
2022-10-15Remove legacy keycodes, part 5 (#18710)Ryan
* `KC_SLCK` -> `KC_SCRL` * `KC_NLCK` -> `KC_NUM`
2022-09-06Remove `UNICODE_KEY_OSX` and `UC_OSX` (#18290)Ryan
2022-08-31[Core] Rework PS/2 driver selection (#17892)Marek Kraus
* [Core] Rework PS/2 driver selection Enabling and selecting PS/2 driver was using old approach, so it was reworked to current approach, inspired by Serial and WS2812 driver selections. * [Keyboard] Update keyboards using PS/2 to use new PS/2 driver selection * [Docs] Update PS/2 documentation to use new PS/2 driver selection * Fix indentation * [Core] Add PS2 to data driver * Fix oversight in property name Co-authored-by: Drashna Jaelre <drashna@live.com> * Add PS/2 pins to data driven mappings Co-authored-by: Drashna Jaelre <drashna@live.com>
2022-08-30Use a macro to compute the size of arrays at compile time (#18044)Jeff Epler
* Add ARRAY_SIZE and CEILING utility macros * Apply a coccinelle patch to use ARRAY_SIZE * fix up some straggling items * Fix 'make test:secure' * Enhance ARRAY_SIZE macro to reject acting on pointers The previous definition would not produce a diagnostic for ``` int *p; size_t num_elem = ARRAY_SIZE(p) ``` but the new one will. * explicitly get definition of ARRAY_SIZE * Convert to ARRAY_SIZE when const is involved The following spatch finds additional instances where the array is const and the division is by the size of the type, not the size of the first element: ``` @ rule5a using "empty.iso" @ type T; const T[] E; @@ - (sizeof(E)/sizeof(T)) + ARRAY_SIZE(E) @ rule6a using "empty.iso" @ type T; const T[] E; @@ - sizeof(E)/sizeof(T) + ARRAY_SIZE(E) ``` * New instances of ARRAY_SIZE added since initial spatch run * Use `ARRAY_SIZE` in docs (found by grep) * Manually use ARRAY_SIZE hs_set is expected to be the same size as uint16_t, though it's made of two 8-bit integers * Just like char, sizeof(uint8_t) is guaranteed to be 1 This is at least true on any plausible system where qmk is actually used. Per my understanding it's universally true, assuming that uint8_t exists: https://stackoverflow.com/questions/48655310/can-i-assume-that-sizeofuint8-t-1 * Run qmk-format on core C files touched in this branch Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
2022-08-21RESET -> QK_BOOT user keymaps (#17940)Joel Challis
2022-08-06Remove `UNUSED_PINS` (#17931)Nick Brassel
2022-07-30Merge remote-tracking branch 'origin/master' into developQMK Bot
2022-07-30Move keyboard USB IDs and strings to data driven: handwired (#17822)Ryan
2022-07-19Remove full bootmagic config (#17702)Joel Challis
2022-07-17Merge remote-tracking branch 'origin/master' into developQMK Bot
2022-07-17Remove full bootmagic config (#17701)Joel Challis
2022-06-19Make default layer size 16-bit (#15286)Drashna Jaelre
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
2022-05-15RESET -> QK_BOOT default keymaps (#17037)Joel Challis
2022-03-15Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h ↵Ryan
(#16655)
2022-03-10Remove `matrix_key_count()` (#16603)Ryan
* Remove `matrix_key_count()` * Remove `matrix_bitpop()`
2022-02-11Merge remote-tracking branch 'origin/master' into developQMK Bot
2022-02-11handwired/promethium: fix missing include (#16317)Ryan
2022-01-30Rename `AdafruitBLE` to `BluefruitLE` (#16127)Ryan
2021-12-09Merge remote-tracking branch 'upstream/master' into developfauxpark
2021-12-09Tidy up NKRO_ENABLE rules (#15382)Ryan
2021-12-08Merge remote-tracking branch 'origin/master' into developDrashna Jael're
2021-12-07Remove references to Makefile in keyboard-level rules.mk (#15427)Ryan
2021-12-02Merge remote-tracking branch 'upstream/master' into developfauxpark
2021-12-01Tidy up `SLEEP_LED_ENABLE` rules (#15362)Ryan
2021-11-29[Core] Remove matrix_is_modified() and debounce_is_active() (#15349)Stefan Kerkmann
2021-10-20Align PS/2 GPIO defines (#14745)Joel Challis
* Align PS/2 GPIO * Align PS/2 GPIO * refactor more keyboards * Remove more defines * Put back avr/chibios split * format
2021-09-30Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-09-30Remove firmware size impact notes from <keyboard>/rules.mk (#14652)James Young
2021-09-30Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-09-30Remove redundant `MIDI_ENABLE = no` in keyboard-level rules.mk (#14649)Ryan
2021-09-29Merge remote-tracking branch 'upstream/master' into developJames Young
2021-09-30Remove redundant `UNICODE_ENABLE = no` in keyboard-level rules.mk (#14633)Ryan
2021-09-26Merge remote-tracking branch 'upstream/master' into developJames Young
2021-09-26Remove unused `IS_COMMAND()` instances and Magic Key definitions (#14610)James Young
* Remove unused IS_COMMAND() instances from keyboard-level config.h, 0-9 * Remove unused IS_COMMAND() instances from keyboard-level config.h, A-B * Remove unused IS_COMMAND() instances from keyboard-level config.h, C-D * Remove unused IS_COMMAND() instances from keyboard-level config.h, E-G * Remove unused IS_COMMAND() instances from keyboard-level config.h, handwired * Remove unused IS_COMMAND() instances from keyboard-level config.h, H-M * Remove unused IS_COMMAND() instances from keyboard-level config.h, N-R * Remove unused IS_COMMAND() instances from keyboard-level config.h, S-Z * Remove unused Magic Key definitions from keyboard-level config.h, 0-9 * Remove unused Magic Key definitions from keyboard-level config.h, A * Remove unused Magic Key definitions from keyboard-level config.h, B * Remove unused Magic Key definitions from keyboard-level config.h, C * Remove unused Magic Key definitions from keyboard-level config.h, D-E * Remove unused Magic Key definitions from keyboard-level config.h, F-H * Remove unused Magic Key definitions from keyboard-level config.h, handwired * Remove unused Magic Key definitions from keyboard-level config.h, I-K * Remove unused Magic Key definitions from keyboard-level config.h, L-M * Remove unused Magic Key definitions from keyboard-level config.h, N-R * Remove unused Magic Key definitions from keyboard-level config.h, S-V * Remove unused Magic Key definitions from keyboard-level config.h, W-Z * Merge remote-tracking branch 'upstream/master' into clean/command_and_magic * Remove remaining unused IS_COMMAND() instances from keyboard-level config.h
2021-09-21Merge remote-tracking branch 'upstream/master' into developfauxpark
2021-09-21Remove audio pin references in rules.mk (#14532)Ryan
2021-09-12Move Bluetooth config to common_features.mk (#14404)Ryan
* Move Bluetooth config to common_features.mk * Update common_features.mk Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
2021-09-12Merge remote-tracking branch 'upstream/master' into developfauxpark
2021-09-12Remove width, height and key_count from info.json (#14274)Ryan
2021-09-10Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-09-10Remove bootloader listings from rules.mk (#14330)Ryan
2021-09-05Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-09-05Remove empty override functions (#14312)Ryan
* Remove empty override functions, 0-9 * Remove empty override functions, A-D * Remove empty override functions, E-H * Remove empty override functions, handwired * Remove empty override functions, I-L * Remove empty override functions, M-P * Remove empty override functions, Q-T * Remove empty override functions, U-Z
2021-09-01Change keyboard level include guards to `pragma once` (#14248)Ryan
* Change keyboard level include guards to `pragma once` And clean up a lot of layout macros * Oops * Remove dangling endif