Closed common-nighthawk closed 8 years ago
Can you show me the includes of your keymap?
#include "ergodox.h"
#include "debug.h"
#include "action_layer.h"
#include "version.h"
complete file available here: https://github.com/common-nighthawk/qmk_firmware/tree/master/keyboards/ergodox/keymaps/common-nighthawk
thanks for your help! and for building the feature!!!
Ok, had a look - you're using tap-dance completely wrong. You don't put the ACTION_TAP_DANCE_DOUBLE
in the keymap, but use it in the tap_dance_actions
declaration. I'd recommend following the docs, which have step-by-step guides on how to add this functionality to your keymap.
Also, having a Makefile
in your keymap dir will make a lot of things easier. These few lines will do:
TAP_DANCE_ENABLE = yes
ifndef QUANTUM_DIR
include ../../../../Makefile
endif
sorry about that. im in a bit over my head writing C. thanks for all your help, @algernon--i now have the tap dance and macro features working nicely!! which is tremendously cool.
ill close this issue, as the documentation is clear and i just misunderstood.
i get the following error--
i added the following to my key map:
ACTION_TAP_DANCE_DOUBLE(KC_LSFT, KC_LBRC)
i do not have a Makefile or config.h in my keymap directory. therefore, i added
TAP_DANCE_ENABLE = yes
to qmk_firmware/keyboards/ergodox/Makefile so that it isand i see that
#define TAPPING_TERM 200
is already set in qmk_firmware/keyboards/ergodox/config.hlastly--i made sure i was current with the upstream.