Page 1 of 1

multiple button presses on a GLK 12232-25-SM display

Posted: Mon Dec 22, 2003 8:16 am
by shasson
Hi,

I am currently working with a GLK 12232-25-SM display. I have ran into a problem and wondered if anyone has any suggestions for me. I am currently using a four button layout:

1 2
3 4

I need to get unique button presses from buttons 1 through 4, obviously, but I also need to receive unique multiple button presses (specifically form 1&3 and 2&4). After looking through the manual, I have not seen anything with regards to handling multiple button presses. Is there a way to do that?

I have tried laying out the buttons to the keypad connection in the following formation

col1 | col2 | col3 | col4 | col5 | row1 | row2 | row3 | row4 | row5
2 | 3 | 4 | 1 | nothing | 2 | 3 | 4 | 1 | nothing

This, however, has given me these results:

button pressed | result
1 | S
2 | A
3 | G
4 | M
1&2 | V
2&4 | Q
3&4 | Q
1&3 | V
2&3 | L
1&4 | V
1,2,3&4 | V

Although I've shown all the possible multiple button presses, all I require to be unique are 1&3, 2&4, as well as all the single button presses. In the formation I have the buttons now, they are unique for the single button presses and for the multiple button presses that I require, but not to different multiple button presses (I am unsure if this is acceptable for our use).

I would appreciate any information anyone has on this subject (particularily to do with handling multiple button presses).

Thanks in advance.

Posted: Tue Dec 23, 2003 10:32 am
by Miles
Hello...

As you already know, Matrix Orbital uses a matrix style keypad routine. When a column and row are shorted together a value is designated that corresponds to our keypad map. Each keypress designates a different value. The way our firmware handles keypresses, it is impossible to handle multiple keypresses. We can only generate fixed mapping to individual keys. Usually we deal with customers that want to avoid multiple keypresses and for this instance if any values other than what is expected will be avoided. If you have any further questions or concerns, feel free to post and we'll do our best to answer!!