internal/gamepad: typo

This commit is contained in:
Hajime Hoshi 2024-07-20 19:21:09 +09:00
parent 122877c265
commit b6b08f4fce

View File

@ -309,7 +309,7 @@ func (g *nativeGamepadsDesktop) dinput8EnumDevicesCallback(lpddi *_DIDEVICEINSTA
return _DIENUM_STOP return _DIENUM_STOP
} }
// lpddi.guidInstance is not relialable as a unique identity when the same multiple devices are connected (#3046). // lpddi.guidInstance is not reliable as a unique identity when the same multiple devices are connected (#3046).
// Use HID Path instead. // Use HID Path instead.
getDInputPath := func(device *_IDirectInputDevice8W) (string, error) { getDInputPath := func(device *_IDirectInputDevice8W) (string, error) {
var prop _DIPROPGUIDANDPATH var prop _DIPROPGUIDANDPATH