# Do you use the keyboard's mouse controls?

**URL:** <https://community.keyboard.io/t/do-you-use-the-keyboards-mouse-controls/501>\
**Category:** Typing & Ergonomics\
**Created:** [October 22, 2017, 8:43pm UTC](https://community.keyboard.io/t/do-you-use-the-keyboards-mouse-controls/501 "2017-10-22T20:43:00Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![craigdissel](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@craigdissel](https://community.keyboard.io/u/craigdissel)\
**Post date:** [October 22, 2017, 11:31pm UTC](https://community.keyboard.io/t/do-you-use-the-keyboards-mouse-controls/501/15 "2017-10-22T23:31:20Z")

</div>

> [@squence](#):
>
> I would have considered that a feature.

I’m pretty sure you could do that too, with a little coding. (Meaning, both function keys normally act like `ShiftToLayer(FUNCTION)`, but when both pressed, it does `ShiftToLayer(FOO)` for some other `FOO`.)

If you’re comfortable with coding, here’s approximately how I’d do it. You’d start by making both Fn keys instances of a macro. When pressed, you check if the other one is currently pressed (maybe there’s a static flag in the macro function), and if it is, return `MACRO(Tr(LockLayer(FOO)))`, but if it isn’t, return `MACRO(Tr(LockLayer(FUNCTION)))`. Then on release, unlock the layers as appropriate.

---

_[View the full topic](https://community.keyboard.io/t/do-you-use-the-keyboards-mouse-controls/501)._
