# Mac special keys

**URL:** <https://community.keyboard.io/t/mac-special-keys/1229>\
**Category:** Programming\
**Created:** [March 9, 2018, 6:43pm UTC](https://community.keyboard.io/t/mac-special-keys/1229 "2018-03-09T18:43:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elkef](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/elkef/32/1043_2.png) [@Elkef](https://community.keyboard.io/u/Elkef)\
**Post date:** [March 9, 2018, 6:43pm UTC](https://community.keyboard.io/t/mac-special-keys/1229/1 "2018-03-09T18:43:42Z")

</div>

Hi, first of I am really and I mean really loving my new keyboard…  
I have two questions.

1. I will only be using my keyboard on a Mac and every once in a while on Linux. Is there a way to add the standard Mac F keys? the ones that do a play, pause, next track, volume, expose etc function?

2. Is there an easy way to save some memory, I get the “Low memory available, stability problems may occur.” error every time I compile. I was hoping there were some OS independand variables I could easily delete if I promise NEVER to work on Windows…

---

<div class="post-metadata">

**Author:** ![james.nvc](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/james.nvc/32/54_2.png) [@james.nvc](https://community.keyboard.io/u/james.nvc)\
**Post date:** [March 9, 2018, 7:44pm UTC](https://community.keyboard.io/t/mac-special-keys/1229/2 "2018-03-09T19:44:20Z")

</div>

For sketch space, I found that removing the testmode plugin & LED-Stalker effects can free up a fair amount of memory.

For the Mac keys, I think you want the `Consumer_` family of keys; `Consumer_VolumeDecrement` , `Consumer_VolumeIncrement`, and `Consumer_Mute` work for me on macOS.  
I haven’t tried the other media controls, but there is a `Consumer_Play` button that might work (I’m not on my Mac right now & can’t test). I’m not sure about things like Exposé, but there is [a giant list of consumer key codes](https://github.com/keyboardio/Kaleidoscope/blob/master/src/key_defs_consumerctl.h#L78) that might contain something useful.

---

<div class="post-metadata">

**Author:** ![Elkef](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/elkef/32/1043_2.png) [@Elkef](https://community.keyboard.io/u/Elkef)\
**Post date:** [March 10, 2018, 5:08pm UTC](https://community.keyboard.io/t/mac-special-keys/1229/3 "2018-03-10T17:08:14Z")

</div>

Thanks  
I’ll try that and thanks for the list!
