bobarry / m2tklib

Automatically exported from code.google.com/p/m2tklib
0 stars 0 forks source link

keypad support #108

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
new handler:
uint8_t m2_eh_4bks(m2_p ep, uint8_t msg, uint8_t arg1, uint8_t arg2);       /* 
m2eh4bs.c simplified 4 Button Handler SELECT, EXIT, PREV, NEXT with keypad 
support */
uint8_t m2_eh_6bks(m2_p ep, uint8_t msg, uint8_t arg1, uint8_t arg2);       /* 
m2eh6bs.c simplified 6 Button Handler SELECT, EXIT, PREV, NEXT, DATA_UP, 
DATA_DOWN with keypad support */

new keys: 
#define M2_KEY_HASH 35
#define M2_KEY_STAR 42
#define M2_KEY_0 48
#define M2_KEY_1 49
#define M2_KEY_2 50
#define M2_KEY_3 51
#define M2_KEY_4 52
#define M2_KEY_5 53
#define M2_KEY_6 54
#define M2_KEY_7 55
#define M2_KEY_8 56
#define M2_KEY_9 57

M2_TEXT supports these key values 

experimental implementation done

Original issue reported on code.google.com by olikr...@gmail.com on 8 Apr 2013 at 9:37

GoogleCodeExporter commented 8 years ago
update dokumentation for the event handler.
note: also 4bsts and 6bsts do support the keypad extension

Original comment by olikr...@gmail.com on 8 Apr 2013 at 9:48

GoogleCodeExporter commented 8 years ago
Support for M2_TEXT and M2_U32NUM added

ToDo
Dokumentation: 
- Supported by M2_TEXT and M2_U32NUM
- Special handler required 

Original comment by olikr...@gmail.com on 30 Oct 2013 at 4:40

GoogleCodeExporter commented 8 years ago

Original comment by olikr...@gmail.com on 31 Oct 2013 at 4:08

GoogleCodeExporter commented 8 years ago
summery:

Handler: m2_eh_4bks, m2_eh_6bks

new keys: M2_KEY_HASH, M2_KEY_STAR, M2_KEY_0, M2_KEY_1, M2_KEY_2,M2_KEY_3, 
M2_KEY_4, M2_KEY_5, M2_KEY_6, M2_KEY_7, M2_KEY_8, M2_KEY_9

supported by elements: M2_TEXT and M2_U32NUM

further documentation will be tracked in issue 123

Original comment by olikr...@gmail.com on 3 Nov 2013 at 6:52

GoogleCodeExporter commented 8 years ago

Original comment by olikr...@gmail.com on 3 Nov 2013 at 6:54