qmk / qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
GNU General Public License v2.0
18.27k stars 39.37k forks source link

cant make tap dance work #509

Closed pvinis closed 8 years ago

pvinis commented 8 years ago

i used it like this https://github.com/pvinis/qmk_firmware/blob/pvinis/keyboards/ergodox_ez/keymaps/pvinis/keymap.c

it should type A or B, and C or D with the BASE layer top left buttons.

i press them, but they do nothing.

moonrumble commented 8 years ago

For me it doesn't compile because of unknown field error. I am getting unknown field 'fn' specified in initializer.

pvinis commented 8 years ago

@moonrumble get the makefile too https://github.com/pvinis/qmk_firmware/blob/pvinis/keyboards/ergodox_ez/keymaps/pvinis/Makefile

moonrumble commented 8 years ago

Yes, I have those option enable in the Make file. I am not expert on c but it has to do with annonomous struct

pvinis commented 8 years ago

ok, i figured it out. it was because with the makefile the .hex was in another directory, and teensy still had the old one. i changed the file and it worked. im adding a feature for tap dance. i will make an issue for it, or a pr directly.

moonrumble commented 8 years ago

It doesn't compile for me in windows. are you using windows machine to compile the software?

pvinis commented 8 years ago

im on osx

fredizzimo commented 8 years ago

@moonrumble,

I don't think it's related to the operation system or compiler version, but rather something in your keymap file, so could you please share it?

moonrumble commented 8 years ago

I can't compile anything with TapDance feature not only my keymaps. I think it is to do with windows-cygwin and avr compiler.