Function

Gntkey_translate

Declaration [src]

const char*
gnt_key_translate (
  const char* name
)

Description [src]

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

Parameters

name

Type: const char*

The user-readable representation of an input (eg.: c-t)

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 machine-readable representation of the input.

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