summaryrefslogtreecommitdiff
path: root/keyboards/contra
AgeCommit message (Collapse)Author
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
2021-08-16Remove MIDI Configuration boilerplate (#11151)James Young
* 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>
2021-08-06Remove Full Bootmagic (#13846)James Young
* 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
2021-07-06`keymap_extras`: Remove deprecated defines (#12949)Ryan
2021-05-11Remove KEYMAP and LAYOUT_kc (#12160)Zach White
* alias KEYMAP to LAYOUT * remove KEYMAP and LAYOUT_kc
2021-04-12Change `BOOTMAGIC_ENABLE=yes` to use Bootmagic Lite (#12172)James Young
2021-02-06Remove `MIDI_ENABLE_STRICT` from user keymaps (#11750)Ryan
2021-01-30Merge remote-tracking branch 'origin/master' into developZach White
2021-01-30add missing ADJUST keyZach White
2021-01-30Add a <FEATURE>_SUPPORTED flag (#9058)Zach White
* Initial attempt at allowing keyboards to indicate what features they do not support * try to use a for loop instead * Update disable_features.mk Co-authored-by: Drashna Jaelre <drashna@live.com> * add a few more features * remove my test fixture * disable things that make all:all suggested" Co-authored-by: Zach White <skullydazed@users.noreply.github.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
2021-01-27Merge remote-tracking branch 'upstream/master' into developfauxpark
2021-01-27Remove `MIDI_ENABLE_STRICT` from keyboards' config.h (#11679)Ryan
2021-01-22Remove QMK_KEYBOARD_CONFIG_H (#11576)Joel Challis
2021-01-15Remove `DESCRIPTION`, B-D (#11513)Ryan
2020-05-18[Keymap] Add Via keymap for Contra (#9119)Frothy
* Add Via keymap for Contra * Added Via-enabled keymap * Changed VENDOR_ID from 0xFEED to 0x4354 (CT) * Removed unnecessary RGB mappings * PR changes * Removed empty via/config.h * Changed product ID from 0x6060 to 0x0001
2020-01-29Trim firmware sizes from default rules.mk, part 1 (#8027)ridingqwerty
* Removed reference to firmware size in 0-9,a-f board-level and default keymap 'rules.mk' files * Correct some 'rules.mk' in boards buried under vendor folders * PR8027 patch Co-authored-by: GeorgeKoenig <35542036+GeorgeKoenig@users.noreply.github.com> Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
2019-12-07[Keymap] Added my customized 40% layout (#7555)Alper Cugun
* Formatting of Contra readme. * Initial version of my custom keymap * Move TODOs to readme * Add comment * Nuke Plover layer * Port changes to other layers * Finished work on my own layout for now * Add layout image * Processed comments from review
2019-11-20Remove keymap_config extern from default keymaps (#7399)Drashna Jaelre
* 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>
2019-10-05Cleanup rules.mk for 32U4 keyboards, A-F (#6804)fauxpark
* Cleanup rules.mk for 32U4 keyboards, A-F * Put back stuff in VIA keymaps
2019-06-19[Keymap] Actually swap space and left control in gaming mode (#6162)Max Rumpf
2019-06-06Replace DEBOUNCING_DELAY (deprecated) with DEBOUNCE (#5997)Drashna Jaelre
2019-03-26[Keymap] adding keymaps (#3583)martinmksiu
* add key map * QWERTY with 40% layers * updated line 21 updated line 21 from "#include "xd75.h" to "#include QMK_KEYBOARD_H" as requested * upload contra folders * Update .directory * Update config.h * Update config.h * Update keymap.c * Update config.h * Update rules.mk * Update keyboards/contra/keymaps/martin_bac/config.h Co-Authored-By: martinmksiu <martinmksiu@gmail.com> * Update keyboards/xd75/keymaps/martin_cennum/config.h Co-Authored-By: martinmksiu <martinmksiu@gmail.com> * Delete .directory * upload * Delete rules.mk * Update keyboards/contra/keymaps/msiu/config.h Co-Authored-By: martinmksiu <martinmksiu@gmail.com> * Update keyboards/katana60/keymaps/msiu/config.h Co-Authored-By: martinmksiu <martinmksiu@gmail.com> * Update keyboards/katana60/keymaps/msiu/config.h Co-Authored-By: martinmksiu <martinmksiu@gmail.com> * Update keyboards/katana60/keymaps/msiu/config.h Co-Authored-By: martinmksiu <martinmksiu@gmail.com> * Update keyboards/katana60/keymaps/msiu/config.h Co-Authored-By: martinmksiu <martinmksiu@gmail.com> * Delete nano.save * Delete rules.mk * Update keymap.c * Update keymap.c * Update config.h * Update keyboards/lets_split_eh/keymaps/msiu/keymap.c Co-Authored-By: martinmksiu <martinmksiu@gmail.com> * Update keyboards/lets_split_eh/keymaps/msiu/keymap.c Co-Authored-By: martinmksiu <martinmksiu@gmail.com> * Update keymap.c * Update keyboards/planck/keymaps/msiu/config.h Co-Authored-By: martinmksiu <martinmksiu@gmail.com> * Apply suggestions from code review Co-Authored-By: martinmksiu <martinmksiu@gmail.com> * Update keymap.c * Update readme.md * Update keymap.c
2019-03-19 Cleanup Default Keymaps (#5442)Drashna Jaelre
* Cleanup Default Keymaps to conform to QMK Firmware standards * Minor fixes * Revert some changes
2019-02-17Remove redundant KC_TRNS and KC_NO fillers in remaining keymaps (#5154)fauxpark
2019-01-27[Keymap] Support FX keys on Maxr1998's ContraMaxr1998
Using update_tri_layer() and more manual layer switching, also rename some layers & keycodes
2019-01-27[Keymap] Small improvements to Maxr1998's Contra keymap (#4952)Max Rumpf
Add backslash, disable Super key in "Gaming" mode
2019-01-26Adds a default value for IS_COMMAND for COMMAND feature (#4301)Drashna Jaelre
* Add default value for IS_COMMAND for COMMAND feature * Cleanup and consistency * Update Templates to reflect change * Fix IS_COMMAND in template * Fix IS_COMMAND define * Use consistent IS_COMMAND block in templates * Remove unnecessary `#undef IS_COMMAND` directives * Fix compile issue on orthodox * Reomve IS_COMMAND option for newer boards * Remove all existing definitions of IS_COMMAND if they use default LSHIFT and RSHIFT setting * Remove a couple of additional IS_COMMAND defines * Remove remaining redundant IS_COMMAND definitions * Remove #undef IS_COMMAND from orthodox:drashna and whitefox:konstantin * Remove multiple empty lines in modified config.h files * Update additional boards * Reomve IS_COMMAND from newer boards * Update Alice keyboard * Remove IS_COMMAND from additional boards Jan 24th edition
2019-01-13Modified URLs to point to new locationsJeremy Bernhardt
2019-01-04Remove deprecated QUANTUM_DIR code blocks from makefiles (#4754)noroadsleft
* Remove QUANTUM_DIR code blocks from keyboard rules This commit removes the deprecated "QUANTUM_DIR" code block from rules.mk files that affect entire keyboards. * remove QUANTUM_DIR code blocks from rules for default keymaps This commit removes the deprecated "QUANTUM_DIR" code block from rules.mk files that affect default keymaps. * remove QUANTUM_DIR code blocks from rules for user keymaps This commit removes the deprecated "QUANTUM_DIR" code block from rules.mk files that affect "user" keymaps. (It's actually any keymap that isn't named `default`.) * remove QUANTUM_DIR code blocks from rules for community layouts This commit removes the deprecated "QUANTUM_DIR" code block from rules.mk files for community layouts. * remove QUANTUM_DIR code blocks from rules for userspaces This commit removes the deprecated "QUANTUM_DIR" code block from rules.mk files for userspaces.
2019-01-03Remove redundant, language-specific aliases for KC_ALGR (#4720)Konstantin Đorđević
* Use standard KC_ALGR, remove language-specific redefinitions * Use ALGR instead of ALTGR in BÉPO and Canadian multilingual keymaps * Remove BE_LALT, BE_LGUI aliases
2018-10-29Keymap: Added personal Contra layout. (#4235)Bramver
* Added personal Contra layout. * Update keyboards/contra/keymaps/bramver/rules.mk Co-Authored-By: BramVer <bramvereertbrugghen@live.be> * Update keyboards/contra/keymaps/bramver/keymap.c Co-Authored-By: BramVer <bramvereertbrugghen@live.be> * Update keyboards/contra/keymaps/bramver/keymap.c Co-Authored-By: BramVer <bramvereertbrugghen@live.be> * Reformatted layers to use the layout format.
2018-10-22Replace outdated RGB/Audio informationDrashna Jaelre
2018-10-15Keymap: Some tweaks to Maxr1998's Contra layout (#4144)Max Rumpf
* Make some keys more accessible, prevent mistypings * Add "Gaming" layer which maps L-Ctrl to space (left-handed jumping compatibility-mode for all games)
2018-09-17Make `PREVENT_STUCK_MODIFIERS` the default (#3107)Joe Wasson
* Remove chording as it is not documented, not used, and needs work. * Make Leader Key an optional feature. * Switch from `PREVENT_STUCK_MODIFIERS` to `STRICT_LAYER_RELEASE` * Remove `#define PREVENT_STUCK_MODIFIERS` from keymaps.
2018-09-13Keymap: Add Contra keymap with QWERTY and COLEMAK Mod-DH (#3883)Erovia
* Add own personal Contra layout * Enable auto-shifting * Enable tap dancing and implement Space Cadet-like shift with LSHIFT and ENTER * Implement Colemak Mod-DH layout, clean up Adjust layer * Implement keyboard and keymap refactor More info: https://github.com/qmk/qmk_firmware/pull/3191 * Update the readme.md and keymap.c files for Colemak * Add include guard, make layout description cleaner
2018-08-19Keymap: Added deastiny layout for contra [based on dvorak type II] (#3673)DeastinY
* Added deastiny layout for contra [based on dvorak type II] * added questionmark and slash to another layer * added pragma once
2018-07-31Keymap: Improvements to Maxr1998's Contra keymap (#3535)Max Rumpf
* Add image * Improvements to my Contra layout * Quick fix for Level3 layer
2018-06-30Maxr1998's contra layout (#3267)Max Rumpf
2018-06-15Contra refactor (#3191)noroadsleft
* Readme update * Keyboard Refactor * Keymap refactor * Fixes per drashna * Fixed curly brace
2018-05-18Add Contra layout & cleanup a few things (#2998)Harley Laue
* Have Del become backspace on the bottom layer for grid layouts * Fix modtap for ESC * Add sleep to Adjust layer
2018-04-11Remove bootloader from info.jsonsskullY
2018-04-11More QMK Configurator Warning/Error Fixes (#2720)MechMerlin
* Add readme with brief description Change KEYMAP to LAYOUT * Add readme.md with brief description Use LAYOUT macro * add a readme.md file * Add readme.md with brief description Use LAYOUT macro * Add readme.md with brief description Use LAYOUT macro * Fix "Warning: contra: Missing layout pp macro for ['planck_mit', 'planck_grid']", * Use LAYOUT macro
2018-04-07Pull information from config.h and rules.mk (#2711)skullydazed
* Pull information from config.h and rules.mk * Readd the kbd75 maintainer
2018-03-30Just a multilayered Layout using tapdance (#2645)Ryan McLean
* Ported JJ40 Layout to Contra * Update readme.md
2018-03-23Add a basic keymap for Contra. (#2564)XP
2018-03-20add info.json to support both layouts on the contramechmerlin
2018-03-12Add layout support for contra.Joe Wasson
2018-03-12Add default keymap for contraJoe Wasson
2018-03-09Added Contra keyboard support (#2501)adiron
* Added Contra keyboard support The configuration came from a source distribution of the firmware on the Contra's official website. I have also included a simple MIDI keymap. (And it works!) * Changes to Contra config and README * Readme has been changed as requested by jackhumbert * Config has been changed to add the Cartel and Contra names to the USB configuration.