Skip to content

Commit

Permalink
add new icons (#8)
Browse files Browse the repository at this point in the history
- added new icons
- fixed texts in configurations
  • Loading branch information
makeevrserg authored Sep 11, 2024
1 parent a877600 commit b4a344c
Show file tree
Hide file tree
Showing 12 changed files with 190 additions and 141 deletions.
2 changes: 1 addition & 1 deletion IRDB
Submodule IRDB updated 4306 files
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,31 @@ object AirPurifierCategoryConfigGenerator {
orders = listOf(
CategoryConfiguration.OrderModel(
data = PowerButtonData(),
message = "Does %s turns on?",
message = "Does the air purifier turn on/off?",
key = DeviceKey.PWR,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Is it oscillated?",
data = TextButtonData(text = "OSC"),
message = "Is the air purifier oscillating (swinging)?",
data = IconButtonData(iconId = IconButtonData.IconType.OSCILLATE),
key = DeviceKey.OSCILLATE,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Is Fan speed increased??",
data = TextButtonData(text = "FS+"),
message = "Has the fan speed increased?",
data = IconButtonData(iconId = IconButtonData.IconType.FAN_SPEED_UP),
key = DeviceKey.FAN_SPEED_UP,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Is Fan speed decreased?",
data = TextButtonData(text = "FS-"),
message = "Has the fan speed decreased?",
data = IconButtonData(iconId = IconButtonData.IconType.FAN_SPEED_DOWN),
key = DeviceKey.FAN_SPEED_DOWN,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does it swing?",
data = TextButtonData(text = "SW"),
message = "Is the air purifier swinging?",
data = IconButtonData(iconId = IconButtonData.IconType.SWING),
key = DeviceKey.SWING,
index = ++i,
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,30 @@ object AvReceiverCategoryConfigGenerator {
orders = listOf(
CategoryConfiguration.OrderModel(
data = PowerButtonData(),
message = "Does %s turns on?",
message = "Does the AV receiver turn on/off?",
key = DeviceKey.PWR,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does volume go up?",
message = "Has the volume increased?",
data = IconButtonData(iconId = IconButtonData.IconType.VOL_UP),
key = DeviceKey.VOL_UP,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does volume go down?",
message = "Has the volume decreased?",
data = IconButtonData(iconId = IconButtonData.IconType.VOL_DOWN),
key = DeviceKey.VOL_DOWN,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Is volume muted?",
message = "Has the volume been muted?",
data = IconButtonData(iconId = IconButtonData.IconType.MUTE),
key = DeviceKey.MUTE,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Is menu opened?",
message = "Has the menu shown?",
data = IconButtonData(iconId = IconButtonData.IconType.MENU),
key = DeviceKey.MENU,
index = ++i,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,42 +17,42 @@ object BoxCategoryConfigGenerator {
orders = listOf(
CategoryConfiguration.OrderModel(
data = PowerButtonData(),
message = "Does %s turns on?",
message = "Does the TV box turn on/off?",
key = DeviceKey.PWR,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does volume go up?",
message = "Has the volume increased?",
data = IconButtonData(iconId = IconButtonData.IconType.VOL_UP),
key = DeviceKey.VOL_UP,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does volume go down?",
message = "Has the volume decreased?",
data = IconButtonData(iconId = IconButtonData.IconType.VOL_DOWN),
key = DeviceKey.VOL_DOWN,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Is volume muted?",
message = "Has the volume been muted?",
data = IconButtonData(iconId = IconButtonData.IconType.MUTE),
key = DeviceKey.MUTE,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Is next channel shown?",
data = TextButtonData(text = "CH+"),
message = "Has it switched to the next channel?",
data = IconButtonData(iconId = IconButtonData.IconType.CH_UP),
key = DeviceKey.CH_UP,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Is previous channel shown?",
data = TextButtonData(text = "CH-"),
message = "Has it switched to the previous channel?",
data = IconButtonData(iconId = IconButtonData.IconType.CH_DOWN),
key = DeviceKey.CH_DOWN,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Is menu opened?",
message = "Has the menu shown?",
data = IconButtonData(iconId = IconButtonData.IconType.MENU),
key = DeviceKey.MENU,
index = ++i,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,30 @@ object CameraCategoryConfigGenerator {
orders = listOf(
CategoryConfiguration.OrderModel(
data = PowerButtonData(),
message = "Does %s turns on?",
message = "Does the camera turn on/off?",
key = DeviceKey.PWR,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Did it take a photo?",
message = "Has the camera taken a photo?",
data = IconButtonData(iconId = IconButtonData.IconType.CAMERA),
key = DeviceKey.SHUTTER,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does it zoom in?",
message = "Has the camera zoomed in?",
data = IconButtonData(iconId = IconButtonData.IconType.ZOOM_IN),
key = DeviceKey.ZOOM_UP,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does it zoom out?",
message = "Has the camera zoomed out?",
data = IconButtonData(iconId = IconButtonData.IconType.ZOOM_OUT),
key = DeviceKey.ZOOM_DOWN,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Is menu opened?",
message = "Has the menu shown?",
data = IconButtonData(iconId = IconButtonData.IconType.MENU),
key = DeviceKey.MENU,
index = ++i,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,42 +17,42 @@ object DvdCategoryConfigGenerator {
orders = listOf(
CategoryConfiguration.OrderModel(
data = PowerButtonData(),
message = "Does %s turns on?",
message = "Does the DVD player turn on/off?",
key = DeviceKey.PWR,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does it open next channel?",
data = TextButtonData(text = "CH+"),
message = "Has it switched to the next channel?",
data = IconButtonData(iconId = IconButtonData.IconType.CH_UP),
key = DeviceKey.CH_UP,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does it open previous channel?",
data = TextButtonData(text = "CH-"),
message = "Has it switched to the previous channel?",
data = IconButtonData(iconId = IconButtonData.IconType.CH_DOWN),
key = DeviceKey.CH_DOWN,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does volume go up?",
message = "Has the volume increased?",
data = IconButtonData(iconId = IconButtonData.IconType.VOL_UP),
key = DeviceKey.VOL_UP,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does volume go down?",
message = "Has the volume decreased?",
data = IconButtonData(iconId = IconButtonData.IconType.VOL_DOWN),
key = DeviceKey.VOL_DOWN,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Is it muted?",
message = "Has the volume been muted?",
data = IconButtonData(iconId = IconButtonData.IconType.MUTE),
key = DeviceKey.MUTE,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Is it ejected?",
message = "Has the DVD player ejected the disk?",
data = IconButtonData(iconId = IconButtonData.IconType.EJECT),
key = DeviceKey.EJECT,
index = ++i,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,99 +17,93 @@ object FanCategoryConfigGenerator {
orders = listOf(
CategoryConfiguration.OrderModel(
data = PowerButtonData(),
message = "Does %s turns on?",
message = "Does the fan turn on/off?",
key = DeviceKey.PWR,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does it change wind speed?",
message = "Has the wind speed changed?",
data = IconButtonData(iconId = IconButtonData.IconType.WIND_SPEED),
key = DeviceKey.WIND_SPEED,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does it enable wind shake?",
data = TextButtonData(text = "SH"),
message = "Has wind shake been enabled?",
data = IconButtonData(iconId = IconButtonData.IconType.SHAKE_WIND),
key = DeviceKey.SHAKE_WIND,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does it change mode?",
message = "Has the fan mode changed?",
data = IconButtonData(iconId = IconButtonData.IconType.MODE),
key = DeviceKey.MODE,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does it change lights?",
message = "Does the fan light turn on/off?",
data = IconButtonData(iconId = IconButtonData.IconType.LIGHT),
key = DeviceKey.LIGHT,
index = ++i,
),

CategoryConfiguration.OrderModel(
message = "Does it increase fan speed?",
data = TextButtonData(text = "SP+"),
message = "Has it increased speed?",
data = IconButtonData(iconId = IconButtonData.IconType.FAN_SPEED_UP),
key = DeviceKey.FAN_SPEED_UP,
index = ++i,
),

CategoryConfiguration.OrderModel(
message = "Does it decrease fan speed?",
data = TextButtonData(text = "SP-"),
message = "Has it decreased speed?",
data = IconButtonData(iconId = IconButtonData.IconType.FAN_SPEED_DOWN),
key = DeviceKey.FAN_SPEED_DOWN,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Is speed changed?",
message = "Has the speed changed?",
data = IconButtonData(iconId = IconButtonData.IconType.WIND_SPEED),
key = DeviceKey.FAN_SPEED,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Is it oscillated?",
data = TextButtonData(text = "OSC"),
message = "Is the fan oscillating (swinging)?",
data = IconButtonData(iconId = IconButtonData.IconType.OSCILLATE),
key = DeviceKey.OSCILLATE,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Is it muted?",
message = "Has the fan been muted?",
data = IconButtonData(iconId = IconButtonData.IconType.MUTE),
key = DeviceKey.MUTE,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does it change mode?",
data = IconButtonData(iconId = IconButtonData.IconType.MODE),
key = DeviceKey.MODE,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Is timer changed?",
message = "Has the timer duration changed?",
data = IconButtonData(iconId = IconButtonData.IconType.TIMER),
key = DeviceKey.TIMER,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Is timer increased?",
data = TextButtonData(text = "T+"),
message = "Has the timer duration increased?",
data = IconButtonData(iconId = IconButtonData.IconType.TIMER_ADD),
key = DeviceKey.TIMER_ADD,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Is timer decreased?",
data = TextButtonData(text = "T-"),
message = "Has the timer duration decreased?",
data = IconButtonData(iconId = IconButtonData.IconType.TIMER_REDUCE),
key = DeviceKey.TIMER_REDUCE,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does it swing?",
data = TextButtonData(text = "SWING"),
message = "Is the fan swinging?",
data = IconButtonData(iconId = IconButtonData.IconType.SWING),
key = DeviceKey.SWING,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does it go to sleep?",
data = TextButtonData(text = "SLEEP"),
message = "Has the fan switched to sleep mode?",
data = IconButtonData(iconId = IconButtonData.IconType.SLEEP),
key = DeviceKey.SLEEP,
index = ++i,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,48 +17,48 @@ object ProjectorCategoryConfigGenerator {
orders = listOf(
CategoryConfiguration.OrderModel(
data = PowerButtonData(),
message = "Does %s turns on?",
message = "Does the projector turn on/off?",
key = DeviceKey.PWR,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does it increase volume?",
message = "Has the volume increased?",
data = IconButtonData(iconId = IconButtonData.IconType.VOL_UP),
key = DeviceKey.VOL_UP,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does it decrease volume?",
message = "Has the volume decreased?",
data = IconButtonData(iconId = IconButtonData.IconType.VOL_DOWN),
key = DeviceKey.VOL_DOWN,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does it mute?",
message = "Has the volume been muted?",
data = IconButtonData(iconId = IconButtonData.IconType.MUTE),
key = DeviceKey.MUTE,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does it zoom in?",
message = "Has the projector zoomed in?",
data = IconButtonData(iconId = IconButtonData.IconType.ZOOM_IN),
key = DeviceKey.ZOOM_UP,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does it zoom out?",
message = "Has the projector zoomed out?",
data = IconButtonData(iconId = IconButtonData.IconType.ZOOM_OUT),
key = DeviceKey.ZOOM_DOWN,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does it increase brightness?",
message = "Has the brightness decreased?",
data = IconButtonData(iconId = IconButtonData.IconType.BRIGHT_MORE),
key = DeviceKey.BRIGHTNESS_UP,
index = ++i,
),
CategoryConfiguration.OrderModel(
message = "Does it decrease brightness?",
message = "Has the TV started a video recording?",
data = IconButtonData(iconId = IconButtonData.IconType.BRIGHT_LESS),
key = DeviceKey.BRIGHTNESS_DOWN,
index = ++i,
Expand Down
Loading

0 comments on commit b4a344c

Please sign in to comment.