# Unicode plugin function hexToKey is not working

**URL:** <https://community.keyboard.io/t/unicode-plugin-function-hextokey-is-not-working/5865>\
**Category:** Uncategorized\
**Tags:** question, plugin\
**Created:** [October 28, 2022, 1:00pm UTC](https://community.keyboard.io/t/unicode-plugin-function-hextokey-is-not-working/5865 "2022-10-28T13:00:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fire](https://avatars.discourse-cdn.com/v4/letter/f/67e7ee/32.png) [@fire](https://community.keyboard.io/u/fire)\
**Post date:** [October 28, 2022, 1:00pm UTC](https://community.keyboard.io/t/unicode-plugin-function-hextokey-is-not-working/5865/1 "2022-10-28T13:00:49Z")

</div>

I tried to put hexToKey in my keymap and it is giving me compiler errors.

First I tried as Unicode.hexToKey(0x0087) and it said the Unicode object had no such function.

Then I tried as hexToKey(0x0087) and I got the following:

```
exit status 1
call to non-'constexpr' function 'Key hexToKey(uint8_t)'

```

How can I get this to work?
