SDL_Input_Map module

get_guid_string

procedureSource

Builds the 32-character SDL GUID for a device from its bus type, vendor, product and version. The string lives in temporary storage.

Example↗
guid := get_guid_string(3, 0x45e, 0x28e, 0x110);
assert(guid.count == 32);
get_guid_string :: (
    bustype: s16,
    vendor: s16,
    product: s16,
    version: s16
) -> temp_string: string

Parameters

bustype: s16
vendor: s16
product: s16
version: s16

Returns

temp_string: string

See also