# Single-byte key addressing (for boards with fewer than 256 keys)

**URL:** <https://community.keyboard.io/t/single-byte-key-addressing-for-boards-with-fewer-than-256-keys/848>\
**Category:** Kaleidoscope Internals\
**Created:** [December 10, 2017, 6:28am UTC](https://community.keyboard.io/t/single-byte-key-addressing-for-boards-with-fewer-than-256-keys/848 "2017-12-10T06:28:42Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![noseglasses](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/noseglasses/32/429_2.png) [@noseglasses](https://community.keyboard.io/u/noseglasses)\
**Post date:** [December 11, 2017, 6:09pm UTC](https://community.keyboard.io/t/single-byte-key-addressing-for-boards-with-fewer-than-256-keys/848/22 "2017-12-11T18:09:08Z")

</div>

I have now checked your changes. It looks promising. I definitely would wrap everything related to keyaddr in a POD class that features nice constexpr access functions. Also it is definitely going to break existing code.

Apart from saving RAM and PROGMEM, such a change would address other aspects related to the way C++ is used in Kaleidoscope. After/while discussing with you, my brain started wandering. This led to a new topic about general improvements of Kaleidoscope.

> [@Kaleidoscope's implementation - possible improvements](https://community.keyboard.io/t/kaleidoscopes-implementation-possible-improvements/851):
>
> @merlin is working on some [interesting ideas](https://community.keyboard.io/t/single-byte-key-addressing-for-boards-with-fewer-than-256-keys/848) to change key positions/addresses from two byte storage to one byte, in order to safe memory. When discussing with him, I was reminded about some related aspects that could be improved in Kaleidoscope. In order not to forget them, I will summarize most of those below, together with ideas how to improve them. Dear developers, please don’t feel offended by me writing this. You have done a great job so far. What I state here are just ideas about how t…

---

_[View the full topic](https://community.keyboard.io/t/single-byte-key-addressing-for-boards-with-fewer-than-256-keys/848)._
