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

mapping FN1 (hold) + key (tap) #508

Closed veshy closed 8 years ago

veshy commented 8 years ago

id like to use FN1 on the same key as im using Tab. so pressing tab sends tab and holding it down sends FN1

is this possible? im still learning and get the basics done, this is the only thing that im missing for a perfect layout. thanks in advance

jackhumbert commented 8 years ago

I don't think this is possible natively - what is your FN1?

veshy commented 8 years ago

its a momentary layer. i tried ACTION_LAYER_TAP_KEY(3, KC_TAB). im using layer2, the momentary layer is 3. on layer3 the key is set to KC_TRNS but i cant get it to work

veshy commented 8 years ago

got it now. used a macro from nicholas keene's ordinary layout(ergodox ez) and edited it to my needs.

piotr-dobrogost commented 8 years ago

How does this macro look like? ACTION_LAYER_TAP_KEY(3, KC_TAB) should really work here.