Skip to content

Commit

Permalink
Merge pull request #4828 from manup/master
Browse files Browse the repository at this point in the history
ZGP PTM216Z reverse order of buttons 1–4
  • Loading branch information
manup authored Apr 30, 2021
2 parents 96fe04c + 14d6bc5 commit cb77a29
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions de_web_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1458,10 +1458,10 @@ void DeRestPluginPrivate::gpProcessButtonEvent(const deCONZ::GpDataIndication &i
// 0000 1000 B1
// 0001 0000 Energy Bar
const quint32 buttonMapPTM216Z[] = {
0x6908, S_BUTTON_1, S_BUTTON_ACTION_INITIAL_PRESS,
0x6904, S_BUTTON_2, S_BUTTON_ACTION_INITIAL_PRESS,
0x6902, S_BUTTON_3, S_BUTTON_ACTION_INITIAL_PRESS,
0x6901, S_BUTTON_4, S_BUTTON_ACTION_INITIAL_PRESS,
0x6901, S_BUTTON_1, S_BUTTON_ACTION_INITIAL_PRESS,
0x6902, S_BUTTON_2, S_BUTTON_ACTION_INITIAL_PRESS,
0x6904, S_BUTTON_3, S_BUTTON_ACTION_INITIAL_PRESS,
0x6908, S_BUTTON_4, S_BUTTON_ACTION_INITIAL_PRESS,
0x690A, S_BUTTON_5, S_BUTTON_ACTION_INITIAL_PRESS,
0x6905, S_BUTTON_6, S_BUTTON_ACTION_INITIAL_PRESS,
0x6906, S_BUTTON_7, S_BUTTON_ACTION_INITIAL_PRESS,
Expand Down

0 comments on commit cb77a29

Please sign in to comment.