Commit Graph

368 Commits (173d1b7571b86db4de7f10dada9ed55d3f66ceb6)

Author SHA1 Message Date
cbbrowne 2c3fcc6c08 Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware 8 years ago
xyverz d1c35b1255 removed a couple of mod_tap keys since they had some unintended conseqeunces across various platforms. 8 years ago
cbbrowne cc7604d116 Add breathing, as initial implementation with the RAISE/LOWER keys. And throw in extra macros to shorten keymaps 8 years ago
cbbrowne 24e8d01dc9 Move ALT... 8 years ago
cbbrowne 5d643bb7ee Got Right SHIFT + Right CTRL 8 years ago
cbbrowne 5be2795ca1 C macros for my favorite complex keystrokes 8 years ago
cbbrowne fdeaf1d9f8 Give layers longer names 8 years ago
cbbrowne 344929e067 Give layers longer names 8 years ago
IBNobody e9a093451e Clean up atomic keymap (#9)
* Added keyboard help macros

* Fixing Atomic PVC keymap / adding print help
8 years ago
cbbrowne 6a7ef59629 Ongoing experiment; have a special layer for RESET 8 years ago
Jack Humbert 4caddd1c5b Merge pull request #736 from tong92/master
add tong92 keymap
8 years ago
Jack Humbert 94ef7f99b8 Merge pull request #733 from cbbrowne/master
Various recent enhancements to my keyboard map
8 years ago
tong92 98e43f995d add tong92 keymap 8 years ago
IBNobody fe2aed0d1c Added User Print - A "light" console out option (#8)
User print disables the normal print messages in the body of QMK/TMK
code and is meant as a lightweight alternative to NOPRINT. Use it when
you only want to do a spot of debugging but lack flash resources for
allowing all of the codebase to print (and store their wasteful
strings).
8 years ago
cbbrowne 54214b3abc Borrowed joint Shift/Enter idea from sgoodwin mapping 8 years ago
cbbrowne 73fdd8a769 Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware 8 years ago
IBNobody 558f3ec1eb Use keyboard config for nkro (#7)
* removing nkro references - wip

* changed NKRO to be defined by keymap_config
8 years ago
Jack Humbert 0468093b12 Merge pull request #724 from sgoodwin/master
Add my keymap.
8 years ago
Jack Humbert 4769b85130 Merge pull request #719 from IBNobody/master
Updated docs to show more info on backlight breathing.
8 years ago
Samuel Ryan Goodwin bf5941b335 Add my keymap. 8 years ago
IBNobody f6cb08a5bd Added diagonal mice macros, breathing ala Atomic 8 years ago
Callum Oakley e4167c8c53 fixed incorrect key combination for locking screen on macOS 8 years ago
Callum Oakley 4c67ccc81e changed some of the wording in the readme 8 years ago
Callum Oakley 8b2a235c8d changed order of modifiers after experimentation, updated readme 8 years ago
Callum Oakley 9c3193f225 Merge remote-tracking branch 'upstream/master' 8 years ago
Jason Janse van Rensburg fc2ca62a3b Merge branch 'master'
Conflicts:
	keyboards/planck/keymaps/bone2planck/keymap.c
8 years ago
cbbrowne fba509780e Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware 8 years ago
Jack Henahan 6d7637ae3e Update README 8 years ago
Jack Henahan 42f1ce08dc jhenahan layout 8 years ago
cbbrowne a732003bfd Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware 8 years ago
Fred Sundvik 523dff3005 Merge branch 'master' into makefile_overhaul 8 years ago
Jack Humbert 4321f0af7d Merge pull request #659 from Dbroqua/master
- Updated dbroqua layout for planck keyboard
8 years ago
cbbrowne 7c2a24b315 Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware 8 years ago
cbbrowne 9778349c4b More notes 8 years ago
dbroqua 235d47e747 - Updated readme by adding link on kle for each layer 8 years ago
IBNobody a902206735 Nightly
Prep for Vision build
8 years ago
dbroqua e65252d591 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	keyboards/planck/keymaps/dbroqua/keymap.c
8 years ago
Fred Sundvik 8f2af3c6bc Merge branch 'master' into makefile_overhaul 8 years ago
dbroqua 92fe78a5ea - Added PrintScreen key on multimedia layer 8 years ago
cbbrowne 90abe70586 Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware 8 years ago
dbroqua d7b6d74842 - Inverted key Tab and Esc
- Reorganised bottom row
8 years ago
Joe Wasson c20bf83afd Add one-hand key to planck/experimental keymap. 8 years ago
Joe Wasson 66adbfcab5 Add default swap configs for a couple of boards. 8 years ago
Fred Sundvik da226e6126 Update keyboard readme files with new makefile instructions 8 years ago
Fred Sundvik 051017c312 Split subproject make files into Makefile and rules.mk 8 years ago
Fred Sundvik 44441de8ca Split keyboard makefiles into rules and Makefile 8 years ago
dbroqua b9a284352e - Moved Insert/Del in Esc layer 8 years ago
dbroqua 11aa19a626 - Updated lower and raise layer 8 years ago
dbroqua c6e733afce - Added readme file and layout preview 8 years ago
dbroqua b4f23b146f - Moved Home/End/PgUp/PgDn on arrow keys 8 years ago
dbroqua 31120ed166 - Moved Brite function on esc to avoid conflict with ctrl key. 8 years ago
dbroqua 578b7e969e - Updated dbroqua layout for planck keyboard 8 years ago
Damien a5e6da7aa8 Added dbroqua layout for planck keyboard 8 years ago
Jack Humbert 8f32595820 Merge pull request #650 from Xyverz/master
Minor changes to keymaps and other files
8 years ago
Gergely Nagy 0d9d4b8658 planck/circuit: Update after the latest tap-dance change
Fixes #653.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Xyverz 47beb763e8 Returned RAISE and LOWER buttons to their original functions - too many inopportune ENTER inputs. :-( 8 years ago
Xyverz 385b827c85 Merge remote-tracking branch 'upstream/master'
this merge is necessary,
8 years ago
Jack Humbert f59b61332f Merge pull request #638 from premek/master
Split layout for planck
8 years ago
Přemek Vyhnal 2ebfdcac40 Update readme.md 8 years ago
premek a75d4bd593 premek split layout 8 years ago
premek 5abb05ca40 premek split layout 8 years ago
Matt f5ed3e5155 Added my custom Planck layout called Circuit.
* Layout has image and readme, as well as documentation in the code.
8 years ago
Xyverz 5c5c3e626b Adding KC_BSPC to the LT() macro for LOWER resulted in a backspace stroke being sent if the LOWER key was used too quickly.
Switching back to original LOWER macro, but keeping the new RAISE macro.
8 years ago
Xyverz 8e2d69d5a2 Adding u/treasuredfrog's hack to use LT() with the RAISE and LOWER macros. 8 years ago
Callum Oakley 993d72b11f added a lock screen key 8 years ago
cbbrowne 83913f9197 Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware 8 years ago
Callum Oakley 2a160bbbe3 Update keymap. (#616)
* changed order of bottom row of symbol layer to ease acess to brackets

* updated readme.md to reflect keymap changes
8 years ago
Xyverz ca3278cc35 adds Xyverz's keymaps (#615)
* Adding my own keymaps to the following keyboards:

Planck, Preonic, Atreus, Ergodox

* Delete dvorak.png

Not reflective of my layout.

* Delete readme.md

file cleanup, removing file that doesn't apply to my layout.

* Delete old_keymap.c

file cleanup

* Delete README.md

file clean up.

* Delete README.md

file cleanup

* Delete keymap.c

file cleanup

* Changed behavior of _DVORAK layout's KC_RSFT to SFT_T(KC_ENT) for flexibility's sake.
Updated the rest of the keymap to reflect the current (as of 19:37 on 08 Aug 2018) default
layout and default makefile.
8 years ago
Callum Oakley 49fbcb3e7c Merge remote-tracking branch 'upstream/master' 8 years ago
Callum Oakley 725dd7328f updated readme.md to reflect keymap changes 8 years ago
Callum Oakley 5f37b11f2c changed order of bottom row of symbol layer to ease acess to brackets 8 years ago
cbbrowne 6ce0195e24 Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware 8 years ago
JeeBak Kim ef83f1d04f Tap for ;, hold for GUI, tap for ", hold for Alt 8 years ago
JeeBak Kim 3d86e5b7a7 Tap for Tab, hold for Hyper 8 years ago
JeeBak Kim 68e287013b Add Tab Close, New, Reopen macros to TouchCursor layer 8 years ago
JeeBak Kim bda4d15ffa Add Virtual Desktop Switching macros to TouchCursor layer 8 years ago
JeeBak Kim 57218827cb Move KC_ACL1 button 8 years ago
JeeBak Kim 96ed96f924 Fix KC_ALT_TAB/KC_CMD_TAB logic 8 years ago
JeeBak Kim 6483a2a04b Mouse layer updates
- Rename to MOUSECURSOR
- Use "d" key, since middle finger is stronger than pinky
- Shuffle some mouse buttons around
8 years ago
JeeBak Kim 36abd4463f Revert swapp of AltTab/CmdTab in readme. Layout did not change 8 years ago
cbbrowne 64e051652b Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware 8 years ago
JeeBak Kim 7db1d7902b Workaround for KC_COPY, etc. based on current AG_NORM/AG_SWAP setting 8 years ago
JeeBak Kim 9a4e72fa71 Add CmdSlash to TouchCursor Layer 8 years ago
JeeBak Kim 16f4a31784 Number layer tweaks 8 years ago
JeeBak Kim fdd89e7f0d Add Alt-Tab, Cmd-Tab, and Ctl-Tab Macros to TouchCursor layer, swap LGUI and LSFT 8 years ago
JeeBak Kim abc3cd4d72 Update readme.md 8 years ago
Stephen Christie bf2b260429 Merge branch 'master' of http://github.com/jackhumbert/qmk_firmware 8 years ago
Stephen Christie 0acb394ac4 Moved Insert, PrtSc, Pause to Adjust; Corner enter 8 years ago
Stephen Christie 76ef37e72d Corrected Qwerty/Fn Mismatch. 8 years ago
Jack Humbert d5baa4773d Merge pull request #596 from fredizzimo/rid_of_quick
Fix the makefile dependencies and remove quick targets
8 years ago
Stephen Christie 4b74c90cdb Added quote key. 8 years ago
Fred Sundvik 97817a773e Generate version information to version.h
So that only the files that really needs a version are recompiled.
8 years ago
JeeBak Kim 230d313dbd Update readme.md 8 years ago
JeeBak Kim a2ed7ce795 Add additional shortcut keymaps to TOUCHCURSOR layer 8 years ago
JeeBak Kim db8ad8204e Add additional maps for [, and ], to LOWER 8 years ago
JeeBak Kim b54a58859f Make RAISE layer an all numbers/arithmatic layer 8 years ago
JeeBak Kim 216efe6c99 Move reset to a less accessible location 8 years ago
JeeBak Kim e0dd9d6af0 Add -, +, and . to RAISE 8 years ago
JeeBak Kim 6a2c681ae9 Change calls from persistant_default_layer_set() to default_layer_set() 8 years ago
JeeBak Kim eb9416a67d PrintScreen and RGUI replace BACKLIT and Ctrl. Move BACKLIT to LOWER/RAISE layers 8 years ago
JeeBak Kim 984fc2b630 Media keys for all the "regular" layers 8 years ago
JeeBak Kim 7209310d1b Add mouse layer, and remove default arrow keys (touchcursor only, now) 8 years ago
JeeBak Kim a6bae9fb07 Add numbers to _RAISE 8 years ago
JeeBak Kim 6baf77d8fb Move _RAISE symbols to _LOWER 8 years ago
JeeBak Kim ad7e4af45c Tap for Enter, hold for Shift 8 years ago
JeeBak Kim b5d77440b6 Add personalized TouchCursor layer 8 years ago
JeeBak Kim eb1a06d3ae Tap for Esc, hold for Control 8 years ago
JeeBak Kim f78a994355 Add "jeebak" keymap folder as a copy of the "default" folder 8 years ago
Stephen Christie 5f2d3f27de Moved CapsLk, ScrollLk, and NumLk to Adjust layer 8 years ago
Stephen Christie c018743729 Connected all layers through Adjust layer 8 years ago
Jack Humbert 9b5edbdce9 Merge pull request #577 from hot-leaf-juice/master
Pull request to include my keymap if you want it!
8 years ago
Stephen Christie 6567fa1ebe Fixed Function keys (Impossible layout) 8 years ago
Stephen Christie a4e5a4d566 Modified Qwerty, created Qwerty with numbers 8 years ago
Christopher Browne 2d59c97ec1 Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware 8 years ago
Callum Oakley 1eeceee355 Added readme.md for custom layout. 8 years ago
Callum Oakley 9822b9f743 Added custom keymap.
Added custom keymap.
8 years ago
Seth Chandler 180a3da44d remove unnecessary includes 8 years ago
Seth Chandler 95ef3f864e fix numerous errors in bone2planck keymap 8 years ago
Stephen Christie 57952949fe General table cleanup. 8 years ago
Stephen Christie ff8136b883 Modified Plover layer for Impossible's home position. 8 years ago
Stephen Christie 465cf08c63 Removed unused layers (keeping QWERTY for later/reference) 8 years ago
Stephen Christie fb2a7d787a Removed unused layers (left QWERTY for later use/reference) 8 years ago
Christopher Browne 2a349e96bb Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware 8 years ago
Jack Humbert b66131eeb5 disable midi by default 8 years ago
Jason Janse van Rensburg a41a7a9100 include base config.h instead of copying it 8 years ago
Jason Janse van Rensburg 8244fa40cc added config.h, and missing Ins of filpped navigation layer 8 years ago
Jason Janse van Rensburg 27d27b179b Merged branch master into bone2planck 8 years ago
Jason Janse van Rensburg 3e462fac31 added missing F keys in flipped layer 8 years ago
Christopher Browne 17a7570e08 Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware 8 years ago
Jack Humbert 8b94e26d7c Fixes midi functionality 8 years ago
Jason Janse van Rensburg 4e0bf283f6 added readme 8 years ago
Jason Janse van Rensburg 1bfd57e234 moved insert 8 years ago
Jason Janse van Rensburg 58f092cf87 moved ctrl 8 years ago
Jason Janse van Rensburg 34bce6f206 fixed stupid errors 8 years ago
Stephen Christie 723857bf8a Table for Fn
layer.
8 years ago
Stephen Christie a39eaa7fb5 Switched to natural arrows, put ENTER on middle Fn, swapped Shift and CTRL. 8 years ago
Stephen Christie eeb100f87d First draft of the 'impossible' layout. 8 years ago
Jason Janse van Rensburg b0e9dbecee fixed include paths 8 years ago
Jason Janse van Rensburg 32f5b34ad2 reformat 8 years ago
Jason Janse van Rensburg 3d7244e604 updated bone2planck 8 years ago
Christopher Browne 82f768e6c0 Notes about changes 8 years ago
Christopher Browne f4fbfe6e54 Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware 8 years ago
Christopher Browne 477ed703c8 I did not like Space Cadet paren; it jumps in in way too many extra cases 8 years ago
TerryMathews e2ec45a755 Fix cluepad and planck 8 years ago
TerryMathews 50c686587e Create keycodes for RGB control functions
Moves RGB controls out of the macro function and assigns them their own
keycodes:
RGB_TOG (toggle on/off)
RGB_MOD (mode step)
RGB_HUI (increase hue)
RGB_HUD (decrease hue)
RGB_SAI (increase saturation)
RGB_SAD (decrease saturation)
RGB_VAI (increase brightness)
RGB_VAD (decrease brightness)
8 years ago
Jack Humbert 57e08eb8ba updates rgblight implementation, makes non-timer stuff compatible with audio 8 years ago
Christopher Browne 97dfbd1afc Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware 8 years ago
Jack Humbert 94d3159d9d correct break/return order for planck and preonic defaults 8 years ago
Christopher Browne 2e1cfaf73f Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware 8 years ago
fredizzimo 4d4f7684e6 Add ChibiOS support for QMK (#465)
* Modularity and gcc warnings fixes.

* Add ChibiOS support (USB stack + support files).

* Make usb_main more USB_DRIVER #define independent.

* Move chibios to tool.

* Implement jump-to-bootloader.

* Small updates.

* Fix bootloader-jump compiling.

* Move AVR specific sleep_led.c into avr.

* Add basic sleep_led for chibios.

* Update chibios README.

* NKRO fixes.

* Rename some Makefile defines.

* Move STM32 bootloader address config to separate .h file.

* Add ARM Teensies bootloader code.

* Fix chibios/usb_main GET_REPORT handing.

* Add missing #include to keymap.c.

* Make bootmagic.c code portable (_delay_ms -> wait_ms).

* Move declaration of keymap_config.

Should really not declare variables in .h files - since it's included
in different .c files, a proper linker then complains that the same
variable is declared more than once (once for each .c file that the
offending .h is included in).

* Add eeprom support for chibios/kinetis.

* Rename chibios example keyboard.

* Move chibios/cortex selection to local Makefiles.

* Chibios: use WFI in idle. WIP suspend stuff.

* ChibiOS/kinetis: sending remote wakeup.

* ChibiOS/STM32: send remote wakeup.

* Fix report size of boot protocol.

* Fix drop key stroke

Keyboard report should be checked if its transfer finishs successfully.
Otherwise key stroke can be missing when other key event occurs
before the last report transfer is done.

Boot protocol 10ms interval probably causes this problem in case
it receives key events in a row within the period. NKRO protocol
suffers less or nothing due to its interval 1ms.

* Chibios/usb_main: rename a variable for clarity.

* Add correct chibios/bootloader_jump for infinity KB.

* ChibiOS: make reset request more CMSISy.

* Chibios: Add breathing sleep LED on Kinetis MCUs.

* ChibiOS: Update infinity bootloader code to match updated ChibiOS.

* ChibiOS: prettify/document sleep_led code.

* Chibios: Remove the wait in the main loop.

* Add maple mini code.

* Do timeout when writing to CONSOLE EP queue.

Fixes TMK bug #266.

* Chibios: add 'core/protocol' to the makefiles' search path.

* Chibios: Update to new USB API.

* Chibios: add more guards for transmitting (fix a deadlock bug).

* Add update for chibios in README

* Chibios: Fix a HardFault bug (wait after start).

* Chibios: cleanup usb_main code.

* Chibios: Revert common.mk change (fix AVR linking problem).

* core: Fix chibios user compile options

Compile options can be defined in project Makefile such as UDEFS, UADEFS, UINCDIR, ULIBDIR and ULIBS.

* Sysv format for ChibiOS arm-none-eabi-size

Some new patches to ChibiOS puts heap as it's own section. So the
berkeley format is now useless, as the heap will be included in the
BSS report. The sysv format displays the bss size correctly.

* Fix hard-coded path of CHIBIOS

* Add support for new version of ChibiOS and Contrib

The Kinetis support has moved to a separate Contrib repository in
the newest version of Chibios. There has also been some structure
changes. So this adds support for those, while maintaining back-
wards compability.

* Update ChibiOS instructions

* Chibios: implement sleep LED for STM32.

* Chibios: Update the main chibios README.

* Chibios: fix STM32_BOOTLOADER_ADDRESS name.

* Chibios: make the default bootloader_jump redefinable (weak).

* Chibios: disable LTO (link-time optimisation).

With LTO enabled, sometimes things fail for mysterious reasons
(e.g. bootloader jump on WF with LEDs enabled), just because the
linker optimisation is too aggressive.

* Chibios: add default location for chibios-contrib.

* ChibiOS: update mk to match chibios/master.

* ChibiOS: update instructions.md.

* Add chibi_onekey example.

* Add comments to chibi_onekey Makefile.

* Rename some Makefile defines.

* Move STM32 bootloader address config to separate .h file.

* Rename chibios example keyboard.

* Move chibios/cortex selection to local Makefiles.

* Add Teensy LC onekey example.

* Chibios: use WFI in idle. WIP suspend stuff.

* Update chibi/teensy instructions.

* Update chibios/Teensy instructions.

* Add infinity_chibios

* Add keymap_hasu.c

* Infinity_chibios: select correct bootloader_jump.

* Infinity_chibios: improve comments.

* Add generic STM32F103C8T6 example.

* Add maple mini code.

* STM32F103x fixes.

* Add maple mini pinout pic.

* Chibios: updates for 3.0.4 git.

* Chibios: rename example stm32_onekey -> stm32_f072_onekey.

* Chibios: add makefiles for Teensy 3.x examples.

* Chibios: update Teensy 3.x instructions.

* Chibios: Tsy LC is cortex-m0plus.

* Chibios: add more guards for transmitting (fix a deadlock bug).

* Change README for chibios

* Chibios: update examples to current chibios git.

Match the changes in mainline chibios:
 - update chconf.h
 - update supplied ld scripts structure
 - update Teensy instructions (switch to official
    chibios and introduce contrib)

* Add ChibiOS and ChibiOS-Contrib submodules

Also fix the makefile path for them.

* Moves chibios keyboards to keyboards folder

* First version of ChibiOS compilation

Only the stm32_f072_onkey keyboard is ported at the moment. It
compiles, but still doesn't link.

* More chibios fixes

It now compiles without warnings and links

* Move the teensy_lc_onekey to the keyboards folder

* Clean up the make file rule structure

* Remove keymap_fn_to_action

* Update more ChibiOS keyboards to QMK

Most of them does not compile at the moment though.

* Use older version of Chibios libraries

The newest ones have problems with compilation

* Remove USB_UNCONFIGURED event

It isn't present in the older version of ChibiOS

* Fix the infinity_chibios compilation

* Fix potentially uninitialized variable

* Add missing include

* Fix the ChibiOS makefile

* Fix some Chibios keyboard compilation

* Revert the rules.mk file back to master version

* Combine the chibios and AVR makefiles

With just the required overrides in the respective platform
specific one.

* Slight makefile restrucuring

Platform specific compiler options

* Move avr specific targets out of the main rules

* Fix ChibiOS objcopy

The ChibiOS objcopy needs different parameters, so the parameters
are moved to the corresponding platform rule file

* Fix the objcopy for real this time

The comands were moved around, so chibios used avr and the ohter
way around.

Also change the objsize output format

* Fix the thumb flags

* Fix the infinity hasu keymap

* Per platform cpp flags

* Add gcc-arm-none-eabi package to travis

* Add arm-none-eabi-newlib to travis

* Fix the name of the libnewlib-arm-none-eabi lib

* Fix the ChibiOS paths

So that they are properly relative, and builds don't generate
extra folders

* Fix the board path of stm32_f103_onekey

* Only consider folders with Makefiles as subproject
9 years ago
Christopher Browne 44a5f7630f Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware 9 years ago
Jack Humbert 7db2ec1509 updates planck experimental, width of color output 9 years ago
Jack Humbert 197f152dee adds random base64 character generator 9 years ago
Jack Humbert 65faab3b89 Moves features to their own files (process_*), adds tap dance feature (#460)
* non-working commit

* working

* subprojects implemented for planck

* pass a subproject variable through to c

* consolidates clueboard revisions

* thanks for letting me know about conflicts..

* turn off audio for yang's

* corrects starting paths for subprojects

* messing around with travis

* semicolon

* travis script

* travis script

* script for travis

* correct directory (probably), amend files to commit

* remove origin before adding

* git pull, correct syntax

* git checkout

* git pull origin branch

* where are we?

* where are we?

* merging

* force things to happen

* adds commit message, adds add

* rebase, no commit message

* rebase branch

* idk!

* try just pull

* fetch - merge

* specify repo branch

* checkout

* goddammit

* merge? idk

* pls

* after all

* don't split up keyboards

* syntax

* adds quick for all-keyboards

* trying out new script

* script update

* lowercase

* all keyboards

* stop replacing compiled.hex automatically

* adds if statement

* skip automated build branches

* forces push to automated build branch

* throw an add in there

* upstream?

* adds AUTOGEN

* ignore all .hex files again

* testing out new repo

* global ident

* generate script, keyboard_keymap.hex

* skip generation for now, print pandoc info, submodule update

* try trusty

* and sudo

* try generate

* updates subprojects to keyboards

* no idea

* updates to keyboards

* cleans up clueboard stuff

* setup to use local readme

* updates cluepad, planck experimental

* remove extra led.c [ci skip]

* audio and midi moved over to separate files

* chording, leader, unicode separated

* consolidate each [skip ci]

* correct include

* quantum: Add a tap dance feature (#451)

* quantum: Add a tap dance feature

With this feature one can specify keys that behave differently, based on
the amount of times they have been tapped, and when interrupted, they
get handled before the interrupter.

To make it clear how this is different from `ACTION_FUNCTION_TAP`, lets
explore a certain setup! We want one key to send `Space` on single tap,
but `Enter` on double-tap.

With `ACTION_FUNCTION_TAP`, it is quite a rain-dance to set this up, and
has the problem that when the sequence is interrupted, the interrupting
key will be send first. Thus, `SPC a` will result in `a SPC` being sent,
if they are typed within `TAPPING_TERM`. With the tap dance feature,
that'll come out as `SPC a`, correctly.

The implementation hooks into two parts of the system, to achieve this:
into `process_record_quantum()`, and the matrix scan. We need the latter
to be able to time out a tap sequence even when a key is not being
pressed, so `SPC` alone will time out and register after `TAPPING_TERM`
time.

But lets start with how to use it, first!

First, you will need `TAP_DANCE_ENABLE=yes` in your `Makefile`, because
the feature is disabled by default. This adds a little less than 1k to
the firmware size. Next, you will want to define some tap-dance keys,
which is easiest to do with the `TD()` macro, that - similar to `F()`,
takes a number, which will later be used as an index into the
`tap_dance_actions` array.

This array specifies what actions shall be taken when a tap-dance key is
in action. Currently, there are two possible options:

* `ACTION_TAP_DANCE_DOUBLE(kc1, kc2)`: Sends the `kc1` keycode when
  tapped once, `kc2` otherwise.
* `ACTION_TAP_DANCE_FN(fn)`: Calls the specified function - defined in
  the user keymap - with the current state of the tap-dance action.

The first option is enough for a lot of cases, that just want dual
roles. For example, `ACTION_TAP_DANCE(KC_SPC, KC_ENT)` will result in
`Space` being sent on single-tap, `Enter` otherwise.

And that's the bulk of it!

Do note, however, that this implementation does have some consequences:
keys do not register until either they reach the tapping ceiling, or
they time out. This means that if you hold the key, nothing happens, no
repeat, no nothing. It is possible to detect held state, and register an
action then too, but that's not implemented yet. Keys also unregister
immediately after being registered, so you can't even hold the second
tap. This is intentional, to be consistent.

And now, on to the explanation of how it works!

The main entry point is `process_tap_dance()`, called from
`process_record_quantum()`, which is run for every keypress, and our
handler gets to run early. This function checks whether the key pressed
is a tap-dance key. If it is not, and a tap-dance was in action, we
handle that first, and enqueue the newly pressed key. If it is a
tap-dance key, then we check if it is the same as the already active
one (if there's one active, that is). If it is not, we fire off the old
one first, then register the new one. If it was the same, we increment
the counter and the timer.

This means that you have `TAPPING_TERM` time to tap the key again, you
do not have to input all the taps within that timeframe. This allows for
longer tap counts, with minimal impact on responsiveness.

Our next stop is `matrix_scan_tap_dance()`. This handles the timeout of
tap-dance keys.

For the sake of flexibility, tap-dance actions can be either a pair of
keycodes, or a user function. The latter allows one to handle higher tap
counts, or do extra things, like blink the LEDs, fiddle with the
backlighting, and so on. This is accomplished by using an union, and
some clever macros.

In the end, lets see a full example!

```c
enum {
 CT_SE = 0,
 CT_CLN,
 CT_EGG
};

/* Have the above three on the keymap, TD(CT_SE), etc... */

void dance_cln (qk_tap_dance_state_t *state) {
  if (state->count == 1) {
    register_code (KC_RSFT);
    register_code (KC_SCLN);
    unregister_code (KC_SCLN);
    unregister_code (KC_RSFT);
  } else {
    register_code (KC_SCLN);
    unregister_code (KC_SCLN);
    reset_tap_dance (state);
  }
}

void dance_egg (qk_tap_dance_state_t *state) {
  if (state->count >= 100) {
    SEND_STRING ("Safety dance!");
    reset_tap_dance (state);
  }
}

const qk_tap_dance_action_t tap_dance_actions[] = {
  [CT_SE]  = ACTION_TAP_DANCE_DOUBLE (KC_SPC, KC_ENT)
 ,[CT_CLN] = ACTION_TAP_DANCE_FN (dance_cln)
 ,[CT_EGG] = ACTION_TAP_DANCE_FN (dance_egg)
};
```

This addresses #426.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>

* hhkb: Fix the build with the new tap-dance feature

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>

* tap_dance: Move process_tap_dance further down

Process the tap dance stuff after midi and audio, because those don't
process keycodes, but row/col positions.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>

* tap_dance: Use conditionals instead of dummy functions

To be consistent with how the rest of the quantum features are
implemented, use ifdefs instead of dummy functions.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>

* Merge branch 'master' into quantum-keypress-process

# Conflicts:
#	Makefile
#	keyboards/planck/rev3/config.h
#	keyboards/planck/rev4/config.h

* update build script
9 years ago
Jack Humbert 215c2119af Implements subprojects and updates projects for this (#459)
* non-working commit

* working

* subprojects implemented for planck

* pass a subproject variable through to c

* consolidates clueboard revisions

* thanks for letting me know about conflicts..

* turn off audio for yang's

* corrects starting paths for subprojects

* messing around with travis

* semicolon

* travis script

* travis script

* script for travis

* correct directory (probably), amend files to commit

* remove origin before adding

* git pull, correct syntax

* git checkout

* git pull origin branch

* where are we?

* where are we?

* merging

* force things to happen

* adds commit message, adds add

* rebase, no commit message

* rebase branch

* idk!

* try just pull

* fetch - merge

* specify repo branch

* checkout

* goddammit

* merge? idk

* pls

* after all

* don't split up keyboards

* syntax

* adds quick for all-keyboards

* trying out new script

* script update

* lowercase

* all keyboards

* stop replacing compiled.hex automatically

* adds if statement

* skip automated build branches

* forces push to automated build branch

* throw an add in there

* upstream?

* adds AUTOGEN

* ignore all .hex files again

* testing out new repo

* global ident

* generate script, keyboard_keymap.hex

* skip generation for now, print pandoc info, submodule update

* try trusty

* and sudo

* try generate

* updates subprojects to keyboards

* no idea

* updates to keyboards

* cleans up clueboard stuff

* setup to use local readme

* updates cluepad, planck experimental

* remove extra led.c [ci skip]

* disable power up for now

* config files updates

* makefile updates

* .h file updates, config tuning

* disable audio for yang
9 years ago
Christopher Browne c9f509f016 Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware 9 years ago
Anand Babu (AB) Periasamy 57066b1246 zoom and undo keys for ab's planck keymap (#446) 9 years ago
Jack Humbert 0058c33815 updates preonic default layout 9 years ago
Jack Humbert 00dcac7270 updates planck macros to keycodes, prototype fn_actions 9 years ago
Anand Babu (AB) Periasamy 0314620d26 Swap up and down on ab's layout to match default (#441) 9 years ago
Christopher Browne 4d79e22438 Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware 9 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
9 years ago
Peter ba116ceb49 Add OS specific layers that can be switched with macros (#436) 9 years ago
Christopher Browne a4bdb0ac0e Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware 9 years ago
Anand Babu (AB) Periasamy bab6a8fde5 AB's practical planck keymap (#435) 9 years ago
Christopher Browne 0cd017d485 Use Space Cadet parens on LSFT 9 years ago
Christopher Browne b0caf32741 Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware 9 years ago
Jack Humbert 649b33d778 Renames keyboard folder to keyboards, adds couple of tmk's fixes (#432)
* fixes from tmk's repo

* rename keyboard to keyboards
9 years ago