Add a Light device type with a bulb icon

This commit is contained in:
Adam Honse 2020-09-15 16:11:30 -05:00
parent 87c99d31cf
commit 1e4eacd337
6 changed files with 8 additions and 0 deletions

View file

@ -1418,6 +1418,8 @@ std::string device_type_to_str(device_type type)
return "Headset Stand";
case DEVICE_TYPE_GAMEPAD:
return "Gamepad";
case DEVICE_TYPE_LIGHT:
return "Light";
default:
return "Unknown";
}

View file

@ -116,6 +116,7 @@ enum
DEVICE_TYPE_HEADSET,
DEVICE_TYPE_HEADSET_STAND,
DEVICE_TYPE_GAMEPAD,
DEVICE_TYPE_LIGHT,
DEVICE_TYPE_UNKNOWN
};