contact input: two-way long click

INCREASE and DECREASE (%) commands for volume, hue, sat
This commit is contained in:
2020-01-08 03:00:38 +03:00
parent 951d0d4383
commit 0044b741ac
6 changed files with 129 additions and 23 deletions

View File

@@ -33,6 +33,8 @@ e-mail anklimov@gmail.com
#define S_RGB 4
#define S_FAN 5
#define S_MODE 6
#define S_HUE 7
#define S_SAT 8
#define S_ADDITIONAL 64
/*
@@ -190,6 +192,7 @@ class Item
int Poll(short cause);
int SendStatus(int sendFlags);
int isActive();
int getChanType();
protected:
//short cmd2changeActivity(int lastActivity, short defaultCmd = CMD_SET);
int VacomSetFan (int8_t val, int8_t cmd=0);