Page 1 of 1

TMK Firmware - Shifted key on FN Layer

Posted: 14 Jan 2016, 11:58
by nicstreet
Afternoon all,

Hopefully someone can assist. I have changed the layout on my board and have "/?' on my FN0 layer (Q), however I want FN+Q to give me question mark not forward slash. How do I get the shifted state of this key? :oops:

Thanks

Nic

Posted: 14 Jan 2016, 12:11
by flabbergast
AFAIK you would assign an unused FN to that key, and assign to it a macro that presses shift and slash. I'm not aware of any other method, since there is no keyboard code that a keyboard could send that would indicate a single key producing the question mark. (It's important to understand this if you're using the question mark as a part of a some keyboard combo on the computer - it will be effectively, say, C-A-S-/ instead of C-A-?.)

Here's what's referenced for this on TMK FAQ: http://deskthority.net/workshop-f7/tmk- ... ml#p195620

Posted: 14 Jan 2016, 17:01
by Ray
Actually, no need for a macro. But flabbergast has the right idea nonetheless.
On the FN0 layer, you don't put "/?" in there, but another FN-"key"
And that FN gets
[#] = ACTION_MODS_KEY(MOD_LSFT, KC_SLSH);

Posted: 14 Jan 2016, 17:20
by nicstreet
Thanks gents, just applied Ray's solution and it is now working as desired, appreciate your time and effort :)

Nic

Posted: 14 Jan 2016, 17:23
by flabbergast
Ah, right, forgot about the ACTION_MODS_KEY. Thanks, Ray!