Hello,
Now days I tried to implement widget KEYBOARD based on this thread:
http://forum.segger.com/index.php?page=Thread&postID=11893&highlight=keyboard#post11893
But, there're some problems with handling the focus.
In my scenario, the details:
1) emWin should get input from physical keypad, and output to focused widget (I've done this)
2) KEYBOARD should get input (UP, DOWN, LEFT, RIGHT, Y) from emWin
3) KEYBOARD should output corresponding key value to EDIT (not itself)
To achieve this:
1) KEYBOARD should have focus to get input
2) But the EDIT should have focus too to get input from KEYBOARD
So, what should I do? Any ideas?
Regards,
Kenmux
Now days I tried to implement widget KEYBOARD based on this thread:
http://forum.segger.com/index.php?page=Thread&postID=11893&highlight=keyboard#post11893
But, there're some problems with handling the focus.
In my scenario, the details:
1) emWin should get input from physical keypad, and output to focused widget (I've done this)
2) KEYBOARD should get input (UP, DOWN, LEFT, RIGHT, Y) from emWin
3) KEYBOARD should output corresponding key value to EDIT (not itself)
To achieve this:
1) KEYBOARD should have focus to get input
2) But the EDIT should have focus too to get input from KEYBOARD
So, what should I do? Any ideas?
Regards,
Kenmux