summaryrefslogtreecommitdiffstats
path: root/keyboards/ymdk
Commit message (Collapse)AuthorAgeFilesLines
* Remove legacy keycodes, part 5 (#18710)Ryan2022-10-1518-22/+22
| | | | | * `KC_SLCK` -> `KC_SCRL` * `KC_NLCK` -> `KC_NUM`
* Remove RGBLIGHT_ANIMATION and clean up effect defines for R-Z (#18728)Drashna Jaelre2022-10-1515-62/+144
|
* Remove legacy keycodes, part 4 (#18683)Ryan2022-10-136-13/+13
| | | | | | | | | | | * `KC_PGDOWN` -> `KC_PGDN` * `KC_PSCREEN` -> `KC_PSCR` * `KC_SCOLON` -> `KC_SCLN` * `KC_BSLASH` -> `KC_BSLS` * `KC_BSPACE` -> `KC_BSPC`
* Remove legacy keycodes, part 2 (#18660)Ryan2022-10-107-13/+13
| | | | | | | | | | | | | | | | | | | * `KC_SYSREQ` -> `KC_SYRQ` And one `KC_ALT_ERASE` -> `KC_ERAS` * `KC_NONUS_BSLASH` -> `KC_NUBS` * `KC_NUMLOCK` -> `KC_NUM` * `KC_CLCK` -> `KC_CAPS` * `KC_SCROLLLOCK` -> `KC_SCRL` * `KC_LBRACKET` -> `KC_LBRC` * `KC_RBRACKET` -> `KC_RBRC` * `KC_CAPSLOCK` -> `KC_CAPS`
* 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>
* Switch over MANUFACTURER and PRODUCT to string literals (#18183)Ryan2022-08-281-24/+1
|
* RESET -> QK_BOOT user keymaps (#17940)Joel Challis2022-08-2112-12/+12
|
* Merge remote-tracking branch 'origin/master' into developQMK Bot2022-08-2110-7/+25
|\
| * Move keyboard USB IDs and strings to data driven, pass 3 (#18111)Ryan2022-08-2110-7/+25
| |
* | Merge remote-tracking branch 'origin/master' into developDrashna Jael're2022-08-201-1/+1
|\|
| * RESET -> QK_BOOT keyboard readme (#18110)Joel Challis2022-08-201-1/+1
| |
* | Remove `UNUSED_PINS` (#17931)Nick Brassel2022-08-067-7/+0
|/
* Move keyboard USB IDs and strings to data driven: Y (#17926)Ryan2022-08-0630-111/+99
|
* Add personal YMDK Split64 keymap (#16980)Minke Zhang2022-07-024-0/+162
| | | Co-authored-by: Drashna Jaelre <drashna@live.com>
* keyboards: fix malformed info.json files (#17292)Ryan Skidmore2022-06-021-4/+4
|
* RESET -> QK_BOOT default keymaps (#17037)Joel Challis2022-05-1517-18/+18
|
* Merge remote-tracking branch 'origin/master' into developQMK Bot2022-05-112-4/+10
|\
| * [Keyboard] Update YMDK Split 64 config (#16979)Minke Zhang2022-05-112-4/+10
| | | | | | | | Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Ryan <fauxpark@gmail.com>
* | move melody96 to ymdk vendor folder (#15680)peepeetee2022-04-2022-0/+2235
|/ | | Co-authored-by: Nick Brassel <nick@tzarc.org>
* Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h ↵Ryan2022-03-153-12/+0
| | | | (#16655)
* Remove `matrix_key_count()` (#16603)Ryan2022-03-101-9/+0
| | | | | * Remove `matrix_key_count()` * Remove `matrix_bitpop()`
* [Keyboard] add YMDK YMD21 v2 (#16442)James Young2022-02-267-0/+272
| | | | | * [Keyboard] add YMDK YMD21 v2 * remove trailing whitespace from default keymap
* Merge remote-tracking branch 'origin/master' into developQMK Bot2022-02-022-0/+80
|\
| * [Keyboard] Add YMDK sp64 VIA support (#16152)Adrian Fleiszer2022-02-012-0/+80
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-01-291-1/+1
|\|
| * Remove missing and trailing commas in info.json files. (#16088)Gabriel Harel2022-01-281-1/+1
| |
* | Yet another bad `DEFAULT_FOLDER` fix. (#15904)Nick Brassel2022-01-161-1/+1
| |
* | move yd60mq to ymdk vendor folder (#15647)peepeetee2022-01-1718-0/+1315
| |
* | Fix CI. (#15828)Nick Brassel2022-01-112-1/+1
| | | | | | * Fix CI.
* | [Keyboard] Rename ymdk_np21 to np21, move to ymdk vendor folder (#15641)peepeetee2022-01-1010-0/+470
| |
* | [Keyboard] move ymd96 to ymdk vendor folder (#15643)peepeetee2022-01-1015-0/+555
| |
* | [Keyboard] move ymd75 to ymdk vendor folder (#15645)peepeetee2022-01-1025-0/+983
|/
* Fix up build options comments (#15463)Ryan2021-12-122-2/+4
|
* Tidy up NKRO_ENABLE rules (#15382)Ryan2021-12-098-14/+8
|
* Tidy up `SLEEP_LED_ENABLE` rules (#15362)Ryan2021-12-017-13/+0
|
* Remove `BOOTMAGIC_ENABLE = lite` option (#15002)James Young2021-11-058-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove BOOTMAGIC_ENABLE=lite setting * change keyboard BOOTMAGIC_ENABLE rules Edits keyboard-level instances of `BOOTMAGIC_ENABLE = lite` to `BOOTMAGIC_ENABLE = yes`. * change keyboard BOOTMAGIC_ENABLE inline comments Edits keyboard-level BOOTMAGIC_ENABLE inline comments to "Enable Bootmagic Lite". * change keymap BOOTMAGIC_ENABLE rules Edits keymap-level instances of `BOOTMAGIC_ENABLE = lite` to `BOOTMAGIC_ENABLE = yes`. * change keymap BOOTMAGIC_ENABLE inline comments Edits/adds keymap-level BOOTMAGIC_ENABLE inline comments to read "Enable Bootmagic Lite". * change layout/user BOOTMAGIC_ENABLE rules/comments Edits instances of `BOOTMAGIC_ENABLE = lite` to `BOOTMAGIC_ENABLE = yes`. Edits/adds keymap-level BOOTMAGIC_ENABLE inline comments to read "Enable Bootmagic Lite". * update non-rules.mk BOOTMAGIC_ENABLE references in keyboards/ * remove docs references to Full Bootmagic * convert data-driven Bootmagic Lite instances * remove Bootmagic Lite bodge from data-driven generation * Merge remote-tracking branch 'upstream/develop' into rm/bootmagic-full_q4a * update docs/ja/config_options.md per mtei * update docs/faq_misc.md per mtei Remove remaining Full Bootmagic reference.
* Remove audio pin references in rules.mk (#14532)Ryan2021-09-211-1/+1
|
* Remove BLUETOOTH_ENABLE from keyboard-level rules.mk (#14379)Ryan2021-09-125-5/+0
|
* Remove width, height and key_count from info.json (#14274)Ryan2021-09-128-18/+0
|
* [keyboard] Add hotswap YMDK Wings (#14176)alittlepeace2021-09-119-0/+333
| | | | | | | | | | | | | | | | | | | | | | | | | * Add files via upload * Update keyboards/ymdk/wingshs/readme.md Co-authored-by: Joel Challis <git@zvecr.com> * Delete wingshs.json * Update keyboards/ymdk/wingshs/config.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/ymdk/wingshs/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/ymdk/wingshs/info.json Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
* Change USBasp and bootloadHID bootloaders to lowercase (#14354)Ryan2021-09-102-2/+2
|
* Remove bootloader listings from rules.mk (#14330)Ryan2021-09-104-28/+0
|
* [Bug] Fix compile issues for boards with custom matrix (#14323)Drashna Jaelre2021-09-051-0/+11
|
* Remove empty override functions (#14312)Ryan2021-09-051-24/+0
| | | | | | | | | | | | | | | | | * 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
* [Keyboard] Corrected layout for np24 by YMDK (#14096)Trent Hoh2021-08-292-11/+58
| | | | Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
* Remove MIDI Configuration boilerplate (#11151)James Young2021-08-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove keyboard-level instances of `MIDI_ENABLE = no` Command: ``` find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e '/^[ #]*MIDI_ENABLE[ \t]*=[ \t]*no/d' {} + ``` Co-Authored-By: Nick Brassel <nick@tzarc.org> * fix case-sensitivity issues on MIDI_ENABLE Change instances of `MIDI_ENABLE = YES` to `MIDI_ENABLE = yes`. Command: ``` find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;MIDI_ENABLE[ \t]*=[ \t]*[Yy][Ee][Ss];MIDI_ENABLE = yes;g' {} + ``` * replace `# MIDI controls` with `# MIDI support` Replace `# MIDI controls` with `# MIDI support` in keyboard-level `rules.mk` files. Command: ``` find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;#[ \t]*MIDI[ \t]*\(controls\|support\).*;# MIDI support;g' {} + ``` * align inline comments Aligns the inline comments to the length used by the QMK AVR rules.mk template. Command: ``` find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;MIDI_ENABLE *= *yes.*;MIDI_ENABLE = yes # MIDI support;g' {} + ``` * remove commented instances of `MIDI_ENABLE` from keyboard `rules.mk` files Commands: ``` find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;#\([ \t]*MIDI_ENABLE\) = yes; \1 = no ;' {} + find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;^\([ \t]*\)\(MIDI_ENABLE = no\);\2\1;' {} + find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e '/^[ #]\+MIDI_ENABLE *= *no/d' {} + ``` * remove MIDI configuration boilerplate from keyboard config.h files Co-authored-by: Nick Brassel <nick@tzarc.org>
* Remove Full Bootmagic (#13846)James Young2021-08-068-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * disambiguate Bootmagic rules in keymaps The files edited by this commit were added at a point in time where `BOOTMAGIC_ENABLE = yes` enabled full Bootmagic. This commit edits the files to specify that full Bootmagic is intended. * remove BOOTMAGIC_ENABLE=full setting * unify commented BOOTMAGIC_ENABLE rules in keyboards Explicitly sets `BOOTMAGIC_ENABLE = no` in keyboards where the rule was commented out. Command: ``` find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;#[ \t]*\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-zA-Z]\+\).*;\1 = no # Virtual DIP switch configuration;g' {} + ``` * remove commented Bootmagic rules from keymap/user level Command: ``` find keyboards/ layouts/ users/ -type f -name 'rules.mk' -exec sed -i -e '/#.*\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*/d' {} + ``` * update keyboard BOOTMAGIC_ENABLE rule formatting Sets the formatting of BOOTMAGIC_ENABLE rules to `BOOTMAGIC_ENABLE = [value]`, without the inline comments (which will be replaced later). Command: ``` find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*;\1 = \2;g' '{}' + ``` * update keyboards' BOOTMAGIC_ENABLE settings Updates keyboard `rules.mk` files to use `BOOTMAGIC_ENABLE = lite` where `BOOTMAGIC_ENABLE = full` was being used. Command: ``` find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = \)full;\1lite;g' '{}' + ``` * update keymap/user BOOTMAGIC_ENABLE settings Updates keymap/user `rules.mk` files to use `BOOTMAGIC_ENABLE = lite` where `BOOTMAGIC_ENABLE = full` was being used. Commands: ``` find keyboards/ -type f -name 'rules.mk' -and -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE[ \t=]\+\)full;\1lite;g' '{}' + find layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE[ \t=]\+\)full;\1lite;g' '{}' + ``` * remove and replace inline comments in keyboards and keymap/user files Removes and replaces the inline comments, which have been updated to read `Enable Bootmagic Lite`. Commands: ``` find keyboards/ -type f -name 'rules.mk' -and -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*;\1 = \2;g' '{}' + find layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*;\1 = \2;g' '{}' + find keyboards/ layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = lite\);\1 # Enable Bootmagic Lite;g' '{}' + find keyboards/ layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = yes\);\1 # Enable Bootmagic Lite;g' '{}' + find keyboards/ layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = no\);\1 # Enable Bootmagic Lite;g' '{}' + ``` * rename improperly named makefiles Some files intended to be used as makefiles had improper names causing them to not be used as intended when building. This commit corrects the filenames of the affected files. * update renamed file with new rule formatting * update QMK's template files Updates QMK's `rules.mk` templates to use the new inline comment. * update QMK Docs - remove documentation of full Bootmagic - update links to Bootmagic Lite doc - add doc for Magic Keycodes * rules.mk patch for coarse/ixora and coarse/vinta
* Merge remote-tracking branch 'upstream/master' into developJames Young2021-07-293-0/+47
|\
| * [Keyboard] Added YMD40v2 VIA (#13770)Trent Hoh2021-07-293-0/+47
| | | | | | VIA support for YMD40v2
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-07-223-1/+265
|\|