Function

Gntkey_lookup

Declaration [src]

const char*
gnt_key_lookup (
  const char* key
)

Description [src]

Translate a machine-readable representation of an input to a user-readable representation.

Parameters

key

Type: const char*

The machine-readable representation of an input.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: const char*

A user-readable representation of the input (eg.: c-t).

The data is owned by the called function.
The value is a NUL terminated UTF-8 string.