summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/promethium/keymaps/default/keymap.c
Commit message (Collapse)AuthorAgeFilesLines
* Unicodemap keycodes rename (#21092)Ryan2023-06-011-13/+13
|
* Move single `LAYOUT`s to data driven (#20365)Ryan2023-04-121-7/+1
|
* Fix functions with empty params (#19647)Ryan2023-01-201-3/+3
| | | | | * Fix functions with empty params * Found a bunch more
* Align definition of unicode_map (#19452)Joel Challis2023-01-011-1/+1
|
* Normalise output selection (Bluetooth) keycodes (#19004)Ryan2022-11-081-5/+2
|
* Normalise Unicode keycodes (#18898)Ryan2022-10-311-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * `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
* Remove legacy Debug keycode (#18769)Ryan2022-10-191-1/+1
| | | | | | | | | | | * `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
* Remove legacy keycodes, part 5 (#18710)Ryan2022-10-151-1/+1
| | | | | * `KC_SLCK` -> `KC_SCRL` * `KC_NLCK` -> `KC_NUM`
* Remove `UNICODE_KEY_OSX` and `UC_OSX` (#18290)Ryan2022-09-061-2/+2
|
* Use a macro to compute the size of arrays at compile time (#18044)Jeff Epler2022-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Make default layer size 16-bit (#15286)Drashna Jaelre2022-06-191-3/+3
| | | Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
* RESET -> QK_BOOT default keymaps (#17037)Joel Challis2022-05-151-1/+1
|
* Rename `AdafruitBLE` to `BluefruitLE` (#16127)Ryan2022-01-301-3/+3
|
* [Keyboard] Update default keymaps to use `layer_state_t` (#7444)Drashna Jaelre2019-11-211-1/+1
| | | | | | * Update default keymaps to use `layer_state_t` * Convert binon32 as get_highest_layer in default keymaps
* Remove keymap_config extern from default keymaps (#7399)Drashna Jaelre2019-11-201-1/+0
| | | | | | | | | | * Remove keymap_config extern from default keymaps * Revert unicode Apparently VSCode does not like unicode, I didn't actually edit these lines, so it must have been automatic... :( Co-Authored-By: fauxpark <fauxpark@gmail.com>
* [Keymap] Added compatibility for Planck rev6 (#5706)Priyadi Iman Nurcahyo2019-04-291-1/+1
| | | | | | | | | | | | * Update code for compatibility with latest QMK * Added compatibility with Planck rev6 * use wait_ms instead of _delay_ms * removed unnecessary rules * disable audio on rev4 only
* Remove redundant KC_TRNS and KC_NO fillers in default keymaps (#5152)fauxpark2019-02-161-3/+0
|
* Add C(), A() and G() to match already existing S() (#4673)fauxpark2019-01-251-1/+0
|
* handwired/promethium Refactor and Configurator support (#4524)noroadsleft2018-12-011-15/+15
| | | | | | | | | | | | * handwired/promethium: refactor - config.h files - updated to use #pragma once - removed redundant config.h includes - layout macro moved from config.h to promethium.h - layout macro renamed from KEYMAP_CUSTOM to LAYOUT * handwired/promethium: Configurator support
* adds default keymap for handwired boardsJack Humbert2017-10-151-0/+1368