Skip to content

MTY_HotkeyToString

chrisd1100 edited this page Aug 25, 2022 · 1 revision

Get the string representation of a key combination.

This function attempts to use the current locale.

void MTY_HotkeyToString(
    MTY_Mod mod,
    MTY_Key key,
    char *  str,
    size_t  len
);

Parameters

mod (MTY_Mod)

Combo modifier.

key (MTY_Key)

Combo key.

str (char *)

Output string.

len (size_t)

Size in bytes of str.

Platform support

Windows   macOS   Android   Linux   Web  

See also

Module: App

Clone this wiki locally