Bug 895274 part.200 Rename NS_GAMEPAD_CONNECTED to eGamepadConnected r=smaug

This commit is contained in:
Masayuki Nakano 2015-09-11 21:21:28 +09:00
Родитель 84915ebeec
Коммит 4d206ef1a3
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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)