MultiButton icon indicating copy to clipboard operation
MultiButton copied to clipboard

Button driver for embedded system

Results 34 MultiButton issues
Sort by recently updated
recently updated
newest added

是否能增加矩阵键盘的支持

When (handle->state == 3) && (handle->ticks == SHORT_TICKS), the state will switch to 0, causing the repeat detection to be interrupted. In fact, it can be classified as repeat at...

typedef enum __attribute__((packed)) { PRESS_DOWN = 0, PRESS_UP, PRESS_REPEAT, SINGLE_CLICK, DOUBLE_CLICK, LONG_PRESS_START, LONG_PRESS_HOLD, number_of_event, NONE_PRESS } PressEvent; 这个事件的枚举类型只需要一个字节就可以表示,是否加上__attribute__((packed)),在其一个字节大小,后续在程序中声明数据存储事件时占用的RAM空间小一些?

建议做一下发布版本管理,这样后面改了些什么内容也清楚