# Alt key combinations on Fn layer

**URL:** <https://community.keyboard.io/t/alt-key-combinations-on-fn-layer/721>\
**Category:** Help and Getting Started\
**Created:** [November 8, 2017, 4:45pm UTC](https://community.keyboard.io/t/alt-key-combinations-on-fn-layer/721 "2017-11-08T16:45:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rafal](https://avatars.discourse-cdn.com/v4/letter/r/ac91a4/32.png) [@rafal](https://community.keyboard.io/u/rafal)\
**Post date:** [November 8, 2017, 4:45pm UTC](https://community.keyboard.io/t/alt-key-combinations-on-fn-layer/721/1 "2017-11-08T16:45:25Z")

</div>

When I want to use combos like Alt+F4 or Alt+Arrows I’m running into an issue - I have to press Alt first, so for instance this works fine:

Alt+Fn+4 (window closes)

but this doesn’t:

Fn+Alt+4 (nothing happens)

Other combos involving Fn work fine, so for instance Ctrl+Fn+4 and Fn+Ctrl+4 both do the same thing.

Jesse said in the Kickstarter comments that it’s odd, so I’m guessing it should work both ways.

I did some sanity checks like unplug the keyboard and try with another computer, but nothing changed.

Having to press Alt first is rather awkward for me, especially that my right thumb is a little less flexible than it should be. Can I make it work with pressing Fn first?

---

<div class="post-metadata">

**Author:** ![Kipples](https://avatars.discourse-cdn.com/v4/letter/k/848f3c/32.png) [@Kipples](https://community.keyboard.io/u/Kipples)\
**Post date:** [November 8, 2017, 4:55pm UTC](https://community.keyboard.io/t/alt-key-combinations-on-fn-layer/721/2 "2017-11-08T16:55:10Z")

</div>

have you modified your keymap if you have can you link it? sounds like you have something on the alt key in the function layer.

---

<div class="post-metadata">

**Author:** ![rafal](https://avatars.discourse-cdn.com/v4/letter/r/ac91a4/32.png) [@rafal](https://community.keyboard.io/u/rafal)\
**Post date:** [November 8, 2017, 5:14pm UTC](https://community.keyboard.io/t/alt-key-combinations-on-fn-layer/721/3 "2017-11-08T17:14:02Z")

</div>

I haven’t modified the keymap.

I’ve just tried to re-flash the default firmware using the [instructions](https://github.com/keyboardio/Model01-Firmware) for Linux command line, but that ended with this error:

> avrdude: ser\_open(): can’t open device “/dev/ttyACM0”: Device or resource busy  
> avrdude: ser\_open(): can’t open device “/dev/ttyACM0”: Device or resource busy  
> /home/rafal/Arduino/hardware/keyboardio/avr/build-tools/makefiles//rules.mk:75: recipe for target ‘flash’ failed  
> make: \*\*\* [flash] Error 1

The keyboard still works, but the issue persists. I’m not familiar with Arduino, should I try to google the error? I won’t brick the keyboard, right? Worst case scenario I’ll have to open the keyboard and reset it with an internal button, is that correct?

---

<div class="post-metadata">

**Author:** ![Kipples](https://avatars.discourse-cdn.com/v4/letter/k/848f3c/32.png) [@Kipples](https://community.keyboard.io/u/Kipples)\
**Post date:** [November 8, 2017, 5:37pm UTC](https://community.keyboard.io/t/alt-key-combinations-on-fn-layer/721/4 "2017-11-08T17:37:31Z")

</div>

looks like something blocked the device from even being attempted to flash so you did nothing. I would double check the instructions especially about udev and the groups. Bricking the keyboard is pretty difficult from what I have read so don’t worry too much. There is a button inside the enclosure but you shouldn’t need it.

---

<div class="post-metadata">

**Author:** ![rafal](https://avatars.discourse-cdn.com/v4/letter/r/ac91a4/32.png) [@rafal](https://community.keyboard.io/u/rafal)\
**Post date:** [November 8, 2017, 5:59pm UTC](https://community.keyboard.io/t/alt-key-combinations-on-fn-layer/721/5 "2017-11-08T17:59:49Z")

</div>

Ok, that worked. I thought the instructions on [this page](https://shop.keyboard.io/pages/code) were sufficient to re-flash the device as I got to this page directly from [here](https://shop.keyboard.io/pages/code), but apparently the udev and group setup is necessary too.

Thanks for your help. It’s odd that it didn’t work quite right on arrival, but everything’s as expected now.

---

<div class="post-metadata">

**Author:** ![algernon](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/algernon/32/4404_2.png) [@algernon](https://community.keyboard.io/u/algernon)\
**Post date:** [November 8, 2017, 8:43pm UTC](https://community.keyboard.io/t/alt-key-combinations-on-fn-layer/721/6 "2017-11-08T20:43:10Z")

</div>

> [@rafal](#):
>
> Other combos involving Fn work fine, so for instance Ctrl+Fn+4 and Fn+Ctrl+4 both do the same thing.

Which `Alt` key are you using? The one on the thumb arc, or the other one? If you are using the other one, the explanation is simple: the `Fn` layer shadows the `Right Alt` key. When you press `Alt+Fn+4`, then when changing layers, the `Alt` key remains alt until it is held, because on layer change, keys already held will not suddenly change their function. So even if it is shadowed on the `Fn` layer, because it was pressed earlier, the shadowing doesn’t come into play. If you press `Fn` first, the key that used to be `Alt` on the base layer, becomes something else. The easiest here is to change the keymap so that the `RightAlt` key’s position on the `Fn` layer is made transparent.

Now, if you use the `Alt` on the thumb arc, that’s a different issue, because that one is **not** shadowed on the `Fn` layer, and should work.

Can you clarify which one you use?

---

<div class="post-metadata">

**Author:** ![rafal](https://avatars.discourse-cdn.com/v4/letter/r/ac91a4/32.png) [@rafal](https://community.keyboard.io/u/rafal)\
**Post date:** [November 8, 2017, 9:00pm UTC](https://community.keyboard.io/t/alt-key-combinations-on-fn-layer/721/7 "2017-11-08T21:00:04Z")

</div>

Thanks for the details on shadowing, I’ll be definitely interested in that when I want to do some custom mapping. As for my current issue though, it’s resolved, see my previous comment.
