# NumPad colouring problems and turning it off

**URL:** <https://community.keyboard.io/t/numpad-colouring-problems-and-turning-it-off/1844>\
**Category:** Help and Getting Started\
**Created:** [July 27, 2018, 4:37am UTC](https://community.keyboard.io/t/numpad-colouring-problems-and-turning-it-off/1844 "2018-07-27T04:37:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamadagni](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/jamadagni/32/2030_2.png) [@jamadagni](https://community.keyboard.io/u/jamadagni)\
**Post date:** [July 27, 2018, 4:37am UTC](https://community.keyboard.io/t/numpad-colouring-problems-and-turning-it-off/1844/1 "2018-07-27T04:37:24Z")

</div>

I want to turn off the colouring effect caused by the NumPad plugin. I thought that merely placing the NumPad plugin before the LED effects in the `KALEIDOSCOPE_INIT_PLUGINS` would be sufficient but I find that this does not work.

1. If the current LED effect is a solid colour, it gets overpainted by the NumPad colours.
2. If it is Rainbow or Breathe, the rest of the keys go black.

Is it worth to create a PR to add a boolean toggle for the NumPad plugin to avoid doing the colouring? The plugin is still needed to handle the numlock state so I can’t avoid including it in toto!

---

<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:** [July 27, 2018, 6:25am UTC](https://community.keyboard.io/t/numpad-colouring-problems-and-turning-it-off/1844/2 "2018-07-27T06:25:29Z")

</div>

Wouldn’t a macro that toggles `NumLock` and the layer work?

---

<div class="post-metadata">

**Author:** ![jamadagni](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/jamadagni/32/2030_2.png) [@jamadagni](https://community.keyboard.io/u/jamadagni)\
**Post date:** [July 27, 2018, 6:45am UTC](https://community.keyboard.io/t/numpad-colouring-problems-and-turning-it-off/1844/3 "2018-07-27T06:45:59Z")

</div>

Works for ordinary switching to and from lock layer numpad but doesn’t work with a Qukey based temporary shift to layer numpad. Possibly this is because a macro especially one containing numlock isn’t a modifier.

---

<div class="post-metadata">

**Author:** ![jamadagni](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/jamadagni/32/2030_2.png) [@jamadagni](https://community.keyboard.io/u/jamadagni)\
**Post date:** [July 27, 2018, 7:21am UTC](https://community.keyboard.io/t/numpad-colouring-problems-and-turning-it-off/1844/4 "2018-07-27T07:21:27Z")

</div>

Also consider the case of the person who wants to use **ColorMap** or such to highlight the numpad layer keys with more detail, such as a different color to the operators.

And I have some editing shortcuts added to that layer as they are obscured by the overlay otherwise, and they aren’t highlighted since their flags aren’t off as I asked in the other thread.

Adding all this customizability to the existing numpad plugin would lead to the point where all this LED-related functionality really belongs in a separate **LEDEffect-NumPad** plugin…

---

<div class="post-metadata">

**Author:** ![jamadagni](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/jamadagni/32/2030_2.png) [@jamadagni](https://community.keyboard.io/u/jamadagni)\
**Post date:** [July 27, 2018, 8:29am UTC](https://community.keyboard.io/t/numpad-colouring-problems-and-turning-it-off/1844/5 "2018-07-27T08:29:44Z")

</div>

> [@jamadagni](#):
>
> doesn’t work with a Qukey based temporary shift to layer numpad.

I tried a workaround by bracketing all the number keys in that layer by `LSHIFT` so I may not need to use `KeypadNumlock` either explicitly in a macro or indirectly via the plugin, but:

1. that’s a kludge
2. it is behaving erratically and I don’t have time to debug that.

The easiest thing to do is to use the plugin, but turn off its LED effect.

---

<div class="post-metadata">

**Author:** ![jamadagni](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/jamadagni/32/2030_2.png) [@jamadagni](https://community.keyboard.io/u/jamadagni)\
**Post date:** [August 7, 2018, 3:27am UTC](https://community.keyboard.io/t/numpad-colouring-problems-and-turning-it-off/1844/6 "2018-08-07T03:27:10Z")

</div>

[https://github.com/keyboardio/Kaleidoscope-NumPad/pull/16](https://github.com/keyboardio/Kaleidoscope-NumPad/pull/16)
