mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
Sync SDL2 wiki -> header
This commit is contained in:
@@ -41,11 +41,15 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An SDL_GUID is a 128-bit identifier for an input device that identifies
|
* An SDL_GUID is a 128-bit identifier.
|
||||||
* that device across runs of SDL programs on the same platform.
|
|
||||||
*
|
*
|
||||||
* If the device is detached and then re-attached to a different port, or if
|
* This is an acronym for "Globally Unique ID."
|
||||||
* the base system is rebooted, the device should still report the same GUID.
|
*
|
||||||
|
* While a GUID can be used to assign a unique value to almost anything, in
|
||||||
|
* SDL these are largely used to identify input devices across runs of SDL
|
||||||
|
* programs on the same platform.If the device is detached and then
|
||||||
|
* re-attached to a different port, or if the base system is rebooted, the
|
||||||
|
* device should still report the same GUID.
|
||||||
*
|
*
|
||||||
* GUIDs are as precise as possible but are not guaranteed to distinguish
|
* GUIDs are as precise as possible but are not guaranteed to distinguish
|
||||||
* physically distinct but equivalent devices. For example, two game
|
* physically distinct but equivalent devices. For example, two game
|
||||||
|
Reference in New Issue
Block a user