James Young
6f36eb469d
Remove unused `IS_COMMAND()` instances and Magic Key definitions ( #14610 )
* 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
2 years ago
James Young
4b453dca92
Remove MIDI Configuration boilerplate ( #11151 )
* 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>
2 years ago
Ryan
6937f1d70e
Remove `MIDI_ENABLE_STRICT` from keyboards' config.h ( #11679 )
3 years ago
Ryan
f325bd6eb2
Remove `DESCRIPTION`, B-D ( #11513 )
3 years ago
James Young
4e8af9d41b
Remove HD44780 References, Part 2 ( #9918 )
* remove HD44780_ENABLE rules: C-F
* remove HD44780_ENABLE config: C-F
3 years ago
Brandon Schlack
086a7cf800
CFTKB Mysterium & Discipad VIA support ( #8794 )
* [Keyboard] Add VIA support to Mysterium
* [Keyboard] Add VIA support to Discipad
4 years ago
Ryan
5e3951b361
Remove NO_UART defines from config.h for V-USB boards ( #8351 )
4 years ago
fauxpark
3047335729
Add support for configurable polling interval and power usage o… ( #7336 )
* Add support for custom polling interval and power usage on V-USB boards
* Use 1ms as default for now
4 years ago
coseyfannitutti
c7d0262be7
[Keyboard] Add Discipad, Update Zadig doc for USBaspLoader ( #6771 )
* add discipad
* Update driver_installation_zadig.md
* Update keyboards/coseyfannitutti/discipad/info.json
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/coseyfannitutti/discipad/readme.md
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update rules.mk
* Update keyboards/coseyfannitutti/discipad/rules.mk
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update docs/driver_installation_zadig.md
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Update keyboards/coseyfannitutti/discipad/discipad.c
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Update docs/driver_installation_zadig.md
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Update docs/driver_installation_zadig.md
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Update rules.mk
* Update discipad.c
* Update driver_installation_zadig.md
* Update config.h
4 years ago
coseyfannitutti
430c37024e
[Keyboard] add keyboard-discipline ( #6464 )
* add keyboard-discipline
* move discipline to /coseyfannitutti
* Update readme.md
* Update keyboards/coseyfannitutti/discipline/discipline.h
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/coseyfannitutti/discipline/discipline.h
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/coseyfannitutti/discipline/info.json
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/coseyfannitutti/discipline/keymaps/coseyfannitutti/keymap.c
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/coseyfannitutti/discipline/info.json
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/coseyfannitutti/discipline/keymaps/67_ansi/keymap.c
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/coseyfannitutti/discipline/keymaps/67_ansi/keymap.c
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/coseyfannitutti/discipline/keymaps/coseyfannitutti/keymap.c
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/coseyfannitutti/discipline/keymaps/default/keymap.c
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/coseyfannitutti/discipline/keymaps/default/keymap.c
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/coseyfannitutti/discipline/readme.md
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/coseyfannitutti/discipline/rules.mk
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update readme.md
* Update keyboards/coseyfannitutti/discipline/discipline.c
Co-Authored-By: Drashna Jaelre <drashna@live.com>
4 years ago
Drashna Jaelre
faaaa134fd
Replace DEBOUNCING_DELAY (deprecated) with DEBOUNCE ( #5997 )
5 years ago
MechMerlin
caefb1c61e
[Keyboard] Quantrik Kyuu 65% Board ( #5541 )
* initial commit
* get rid of some of the vanilla cookie cutter code
* Put in the matrix size and the pins
* add LAYOUT macro and a suitable keymap
* Add QMK Configurator support
* set bootmagic to lite
* put a RESET key into the default keymap
* edit kyuu readme file for description and quantrik.com link
* Update keyboards/quantrik/kyuu/config.h
Co-Authored-By: mechmerlin <30334081+mechmerlin@users.noreply.github.com>
* fix captilization of keyboard name
* fix keymap wrapping issue and add MO key
* preserve RESET key location
* use one of the macros
5 years ago
fauxpark
0d936b2fe6
Ask for your name when generating a new keyboard ( #5214 )
* Ask for your name when generating a new keyboard
* Update docs
* Apply suggestions from code review
Co-Authored-By: fauxpark <fauxpark@gmail.com>
5 years ago
zvecr
fc06986989
Remove CUSTOM_MATRIX option from diode direction ( #5090 )
* Remove CUSTOM_MATRIX refs from DIODE_DIRECTION
* Remove '#define DIODE_DIRECTION CUSTOM_MATRIX'
* Remove CUSTOM_MATRIX refs from DIODE_DIRECTION documentation
5 years ago
Konstantin Đorđević
5cb713148d
Change Command keycode defaults to match corresponding Bootmagic codes ( #5078 )
* Change Command keycode defaults to match corresponding Bootmagic codes
* Make alternate magic key keycodes consistent
* Reflect changes from previous commit in tmk_core/common/command.c
* Remove unnecessary MAGIC_KEY_* definitions from keymaps compatible with these changes
* Swap E and BSPACE for MAGIC_KEY_EEPROM
* Add MAGIC_KEY_EEPROM_CLEAR instead of MAGIC_KEY_EEPROM_ALT
* Remove BOOTMAGIC_ENABLE checks around EECONFIG stuff
* Update Command descriptions
5 years ago
Konstantin Đorđević
4d9b11af14
Fix Command feature: use get_mods() instead of keyboard_report->mods ( #4955 )
* Remove unnecessary IS_COMMAND definition in clueboard/66/rev4
* Replace keyboard_report->mods with get_mods() in IS_COMMAND definitions
* Update docs to use get_mods() instead of keyboard_report->mods
* Replace keyboard_report->mods with get_mods() in tmk_core/protocol/usb_hid/test
For some reason, this occurrence used KB_LSHIFT and KB_RSHIFT, which don't exist
* Replace keyboard_report->mods with get_mods() in Massdrop keyboards (as per @patrickmt )
5 years ago
Drashna Jaelre
b05c0e46c6
Adds a default value for IS_COMMAND for COMMAND feature ( #4301 )
* 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
5 years ago
MechMerlin
b0d308eea1
Update Templates (stop living in the past, its 2019) ( #4897 )
5 years ago
Takeshi ISHII
155e9310ff
Make quantum/split_common/serial.[ch] configurable ( #4419 )
* add temporary compile test shell script
* add 'CONFIG_H += serial_backward_compatibility.h' into common_features.mk:SPLIT_KEYBOARD block
* add quantum/split_common/serial_backward_compatibility.h
SERIAL_PIN_PORT and other PIN define move to serial_backward_compatibility.h
SERIAL_BACKLIT_START move to split_util.h
* quantum/split_common/serial.c change to helix-serial.c style serial configuration
* add temporary file quantum/split_common/split-keyboards-list.txt
* add '#define SOFT_SERIAL_PIN D0' to keyboards/6lit/config.h
* add '#define SOFT_SERIAL_PIN D0' to keyboards/divergetm2/config.h
* add '#define SOFT_SERIAL_PIN D0' to keyboards/ergotravel/rev1/config.h
* add '#define SOFT_SERIAL_PIN D0' to keyboards/foobar/config.h
* add '#define SOFT_SERIAL_PIN D0' to keyboards/handwired/dactyl_manuform/config.h
* add '#define SOFT_SERIAL_PIN D0' to keyboards/handwired/qc60/config.h
* add '//#define SOFT_SERIAL_PIN D0' to keyboards/handwired/xealous/config.h
* add '#define SOFT_SERIAL_PIN D0' to keyboards/iris/rev*/config.h
* add '//#define SOFT_SERIAL_PIN D0' to keyboards/lets_split_eh/config.h
* add '#define SOFT_SERIAL_PIN D0' to keyboards/levinson/rev*/config.h
* add '#define SOFT_SERIAL_PIN D0' to keyboards/miniaxe/config.h
* add '#define SOFT_SERIAL_PIN D0' to keyboards/nyquist/rev?/config.h
* add '#define SOFT_SERIAL_PIN D0' to keyboards/quefrency/rev1/config.h
* add '#define SOFT_SERIAL_PIN D0' to keyboards/qwertyydox/config.h,keyboards/qwertyydox/rev1/config.h
* add '#define SOFT_SERIAL_PIN D0' to keyboards/redox/rev1/config.h
* add '#define SOFT_SERIAL_PIN D0' to keyboards/rorschach/rev1/config.h
* remove '#define SOFT_SERIAL_PIN D0' from quantum/split_common/serial_backward_compatibility.h
* remove temporary file quantum/split_common/split-keyboards-list.txt
* remove temporary compile test shell script
* Revert "remove temporary compile test shell script"
This reverts commit 15b0021b40
.
* update quantum/split_common/compile_split_test.sh for new keyboard test
* add '#define SOFT_SERIAL_PIN D0' to keyboards/diverge3/config.h
* add '#define SOFT_SERIAL_PIN D0' to keyboards/40percentclub/25/config.h
* remove temporary compile test shell script
* update docs/config_options.md, quantum/template/avr/config.h
* fix quantum/template/avr/config.h
* fix typo docs/config_options.md
5 years ago
mtei
d0f8e1babe
modify quantum/template/avr/config.h: add rgblight effect configurations
5 years ago
Drashna Jaelre
4ffcacd920
Add Bootmagic Lite to QMK ( #4215 )
* Preliminary additon of bootmagic lite functionality
* Cleanup code
* Clean up bootmagic code
* Add documentation and clean up code
* Make 'lite' an option for BOOTMAGIC_ENABLE
* Update Templates with note about Bootmagic Lite option
* Detect Debounce variable
* Make sure debounce is a non-zero number
* Capitalize Bootmagic
* Capitalize bootmagic
* Update wording
* Re-add EEPROM reset, by popular demand
And add eeprom-less version to drashna userspace for his sanity
* Fix spacing
* Set BOOTMAGIC_ENABLE to use full/lite/off
And default yes to "full" for compatibility
* Add Bootmagic lite info to templates
* Remove text from makefiles
* Cleanup of makefile
* mention yes in bootmagic docs
* Wordsmitthing the docs
* Fix white spaces
* Readd default bootmagic setting, because it's necessary
5 years ago
MechMerlin
ec26684491
Update templates used for new_project.sh ( #3558 )
5 years ago
noroadsleft
bc7fe1223d
Add #include "config_common.h" after #pragma once to config.h templates ( #3444 )
5 years ago
Evan Travers
96cb9f4661
Update template config.h with `#pragma once` ( #3415 )
* Update template config.h with `#pragma once`
Making sure this is consistent with #3404
* Move to `#pragma once` for the other templates
6 years ago
Max Audron
bbea9dadbc
Integrating Peter Fleury's HD44780 LCD library ( #3209 )
* integrated Peter Fleury's LCD library for HD44780 LCDs
* fixed typo
* cleanup finished
* add documentation
* added HD44780 documentation
* removed keyboard from .gitmodules
* resolved merge conflict
* removed edit of kira75s rules.mk made by merge
* moved hd44780 to drivers/avr
* Added licence info to hd44780 files
* Added link to hd44780 docs.
6 years ago
MechMerlin
70e60b0a0c
update template copyrights to 2018 ( #2962 )
6 years ago
MechMerlin
5346cb2d20
Support both AVR and ps2avrGB targets for new_project script ( #2811 )
* Stopping point at creating targets for new_project script
* Add second argument for target
* Add the ps2avrgb target
* consider the case where the firmware type target is not valid
* fix template files to be more generic
* Code cleanup
* Change variable name to be more descriptive
* make avr the default
* forgot to put the template files in
* Take out useless comments
* add usage info
6 years ago
Jack Humbert
e2e387f8f8
update qmk template
6 years ago
Balz Guenat
5ad103fa51
add description of new option to docs and add option (commented out) into template.
6 years ago
Balz Guenat
3e67cc9c80
add description of new option to docs and add option (commented out) into template.
6 years ago
skullydazed
23839b8c6d
Clarify the quantum license ( #1042 )
* Clarify the license for files we have signoff on
* Update against the currently signed off files
* Remove unused and not clearly licensed headers
* Replace an #endif I accidentally removed while resolving merge conflicts
7 years ago
Gabriel Young
a64ae10662
Update existing keymaps
Update existing keymaps to enable MIDI_BASIC functionality. Also added
an option MIDI_ENABLE_STRICT to be strict about keycode use (which also
reduces memory footprint at runtime)
7 years ago
Gabriel Young
525be99ee9
Split MIDI functionality into MIDI_BASIC and MIDI_ADVANCED
MIDI_ENABLE = no
text data bss dec hex filename
0 17080 0 17080 42b8 satan_midi.hex
MIDI_ENABLE = yes
MIDI_BASIC undefined
MIDI_ADVANCED undefined
text data bss dec hex filename
0 19494 0 19494 4c26 satan_midi.hex
MIDI_ENABLE = yes
#define MIDI_BASIC
MIDI_ADVANCED undefined
text data bss dec hex filename
0 19788 0 19788 4d4c satan_midi.hex
MIDI_ENABLE = yes
MIDI_BASIC undefined
#define MIDI_ADVANCED
text data bss dec hex filename
0 20846 0 20846 516e satan_midi.hex
MIDI_ENABLE = yes
#define MIDI_BASIC
#define MIDI_ADVANCED
text data bss dec hex filename
0 21140 0 21140 5294 satan_midi.hex
7 years ago
Gabriel Young
ed15973a3f
Document size added by MIDI_ENABLE (~3800 bytes according to my experiments)
satan/keymaps/midi
MIDI_ENABLE = no
text data bss dec hex filename
0 17080 0 17080 42b8 satan_midi.hex
MIDI_ENABLE = yes
#define MIDI_TONE_KEYCODE_OCTAVES 3 // default
text data bss dec hex filename
0 20846 0 20846 516e satan_midi.hex
MIDI_ENABLE = yes
#define MIDI_TONE_KEYCODE_OCTAVES 2 // fewer octaves
text data bss dec hex filename
0 20846 0 20846 516e satan_midi.hex
7 years ago
Gabriel Young
d1fe24ad9f
Allow customization of the number of tone keycodes and add example keymap
7 years ago
Nikolaus Wittenstein
8cbf61c919
Add new DIODE_DIRECTION option
The previous two options were COL2ROW, ROW2COL; this adds CUSTOM_MATRIX
to disable the built-in matrix scanning code.
Most notably, this obviates the need to set MATRIX_ROW_PINS or
MATRIX_COL_PINS.
7 years ago
Jack Humbert
13bb6b4b7f
Backlight abstraction and other changes ( #439 )
* redoes matrix pins, abstracts backlight code for B5,6,7
* slimming down keyboard stuff, backlight breathing implemented
* don't call backlight init when no pin
* cleans up user/kb/quantum calls, keyboard files
* fix pvc atomic
* replaces CHANNEL with correct var in breathing
* removes .hexs, updates readmes, updates template
* cleans-up clueboards, readmes to lowercase
* updates readme
8 years ago
Eric Tang
aaa758f1d3
Optimize matrix scanning ( #343 )
8 years ago
IBNobody
1d13aa933b
Minor Tweaks and Documentation
Fixed compiler warning by including bootloader.h in keymap_common.c.
Changed FORCE_NKRO to only be applied if NKRO_ENABLE is defined.
Added extra documentation to the template config.h
8 years ago
IBNobody
577971ab07
Magic Key Overrides / Keyboard Lock / Forced NKRO
Added Magic Key Overrides / Magic Key Cleanup / Added Keyboard Lock
option to template / Added forced NKRO option to template (disabled by
default)
8 years ago
Jack Humbert
24f2698fba
changes to the template
8 years ago
Jack Humbert
6f3141965e
new project script
8 years ago
Jack Humbert
35a81f5b8b
added ergodox
8 years ago
Jack Humbert
71a8fd8b12
bluetooth working with usb
8 years ago
Jack Humbert
c966e7982c
bluetooth
8 years ago
Jack Humbert
5bb7ef0012
rows to col option, maybe
8 years ago
Jack Humbert
91176d854b
speaker working, midi out
8 years ago
Jack Humbert
cda23c754e
midi working
8 years ago
Jack Humbert
04885a3b44
preonic
8 years ago
Jack Humbert
e528087ee5
midi
8 years ago