Reorder some inputs and fix comments
This commit is contained in:
@@ -59,10 +59,10 @@ using namespace beman::inplace_vector;
|
||||
static const std::unordered_map<std::string, device_id> device_ids = {
|
||||
{"/user/hand/left/input/dpad_up/click", device_id::DPAD_UP_CLICK},
|
||||
{"/user/hand/left/input/dpad_up/touch", device_id::DPAD_UP_TOUCH},
|
||||
{"/user/hand/left/input/dpad_down/click", device_id::LEFT_X_CLICK},
|
||||
{"/user/hand/left/input/dpad_down/touch", device_id::LEFT_X_TOUCH},
|
||||
{"/user/hand/left/input/dpad_left/click", device_id::DPAD_LEFT_CLICK},
|
||||
{"/user/hand/left/input/dpad_left/touch", device_id::DPAD_LEFT_TOUCH},
|
||||
{"/user/hand/left/input/dpad_down/click", device_id::LEFT_X_CLICK},
|
||||
{"/user/hand/left/input/dpad_down/touch", device_id::LEFT_X_TOUCH},
|
||||
{"/user/hand/left/input/dpad_right/click", device_id::LEFT_Y_CLICK},
|
||||
{"/user/hand/left/input/dpad_right/touch", device_id::LEFT_Y_TOUCH},
|
||||
{"/user/hand/left/input/x/click", device_id::LEFT_X_CLICK},
|
||||
@@ -116,10 +116,10 @@ static const std::unordered_map<std::string, device_id> device_ids = {
|
||||
{"/user/hand/right/input/x/touch", device_id::RIGHT_X_TOUCH},
|
||||
{"/user/hand/right/input/y/click", device_id::RIGHT_Y_CLICK},
|
||||
{"/user/hand/right/input/y/touch", device_id::RIGHT_Y_TOUCH},
|
||||
{"/user/hand/right/input/system/click", device_id::RIGHT_SYSTEM_CLICK},
|
||||
{"/user/hand/right/input/system/touch", device_id::RIGHT_SYSTEM_TOUCH},
|
||||
{"/user/hand/right/input/menu/click", device_id::RIGHT_MENU_CLICK},
|
||||
{"/user/hand/right/input/menu/touch", device_id::RIGHT_MENU_TOUCH},
|
||||
{"/user/hand/right/input/system/click", device_id::RIGHT_SYSTEM_CLICK},
|
||||
{"/user/hand/right/input/system/touch", device_id::RIGHT_SYSTEM_TOUCH},
|
||||
{"/user/hand/right/input/bumper/click", device_id::RIGHT_BUMPER_CLICK},
|
||||
{"/user/hand/right/input/bumper/touch", device_id::RIGHT_BUMPER_TOUCH},
|
||||
{"/user/hand/right/input/squeeze/click", device_id::RIGHT_SQUEEZE_CLICK},
|
||||
|
||||
Reference in New Issue
Block a user