зеркало из https://github.com/mozilla/gecko-dev.git
Bug 895274 part.200 Rename NS_GAMEPAD_CONNECTED to eGamepadConnected r=smaug
This commit is contained in:
Родитель
84915ebeec
Коммит
4d206ef1a3
|
@ -829,7 +829,7 @@ NON_IDL_EVENT(gamepadaxismove,
|
|||
EventNameType_None,
|
||||
eBasicEventClass)
|
||||
NON_IDL_EVENT(gamepadconnected,
|
||||
NS_GAMEPAD_CONNECTED,
|
||||
eGamepadConnected,
|
||||
EventNameType_None,
|
||||
eBasicEventClass)
|
||||
NON_IDL_EVENT(gamepaddisconnected,
|
||||
|
|
|
@ -418,7 +418,7 @@ NS_EVENT_MESSAGE(NS_GAMEPAD_START, 6000)
|
|||
NS_EVENT_MESSAGE(NS_GAMEPAD_BUTTONDOWN, NS_GAMEPAD_START)
|
||||
NS_EVENT_MESSAGE(NS_GAMEPAD_BUTTONUP, NS_GAMEPAD_START + 1)
|
||||
NS_EVENT_MESSAGE(NS_GAMEPAD_AXISMOVE, NS_GAMEPAD_START + 2)
|
||||
NS_EVENT_MESSAGE(NS_GAMEPAD_CONNECTED, NS_GAMEPAD_START + 3)
|
||||
NS_EVENT_MESSAGE(eGamepadConnected, NS_GAMEPAD_START + 3)
|
||||
NS_EVENT_MESSAGE(eGamepadDisconnected, NS_GAMEPAD_START + 4)
|
||||
// Keep this defined to the same value as the event above
|
||||
NS_EVENT_MESSAGE(NS_GAMEPAD_END, NS_GAMEPAD_START + 4)
|
||||
|
|
Загрузка…
Ссылка в новой задаче