qmk_firmware/internals/unicodemap.md

1.7 KiB

group unicodemap

Summary

Members Descriptions
public uint8_t unicodemap_index(uint16_t keycode) Get the index into the unicode_map array for the given keycode, respecting shift state for pair keycodes.
public uint32_t unicodemap_get_code_point(uint8_t index) Get the code point for the given index in the unicode_map array.
public void register_unicodemap(uint8_t index) Send the code point for the given index in the unicode_map array.

Members

public uint8_t unicodemap_index(uint16_t keycode)

Get the index into the unicode_map array for the given keycode, respecting shift state for pair keycodes.

Parameters

  • keycode The Unicode Map keycode to get the index of.

Returns

An index into the unicode_map array.

public uint32_t unicodemap_get_code_point(uint8_t index)

Get the code point for the given index in the unicode_map array.

Parameters

  • index The index into the unicode_map array.

Returns

A Unicode code point value.

public void register_unicodemap(uint8_t index)

Send the code point for the given index in the unicode_map array.

Parameters

  • index The index into the unicode_map array.