Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hi

I am using text widget

iResult = ISHELL_CreateInstance(m_piShell, AEECLSID_TextWidget, (void**)&m_pwtUserName);

I want to implement qwerty key maping. I want to use SHIFT and CONTROL key maping.

I quired the default text controller, but i don't know how to handle the QWERTY key pad events using IKeysConfig & IKeysMapping inetrfaces. So can any one help me in implementing the input widget for Qwerty key. If any sample code it would be a greate help.

Text widget should take care of keys mapping if you pass raw events to it. No need for you to get mapping and provide it to text widget.
 
For details on extended keypad handling see: https://developer.brewmp.com/resources/tech-guides/form-factor-technolog...
 
 

Text widget should take care of keys mapping if you pass raw events to it. No need for you to get mapping and provide it to text widget.
 
For details on extended keypad handling see: https://developer.brewmp.com/resources/tech-guides/form-factor-technolog...
 
 

I am using C UI Widgets sample application and Saphire (1.0.2.549.1). As you sugested here raw data is sent to the text widget and i am not modifying the keys. But on this simulator when i am trying to use SHIFT+ any key for example SHIFT + AVK_A, then the input box is filled with "lower case a". The maping is not working.
When i see the keysconfig file, the key maping is available. Even then it is not working.
Is it the problem with the simulator or do i need to add any thing to my code? please help me in this.

I am using C UI Widgets sample application and Saphire (1.0.2.549.1). As you sugested here raw data is sent to the text widget and i am not modifying the keys. But on this simulator when i am trying to use SHIFT+ any key for example SHIFT + AVK_A, then the input box is filled with "lower case a". The maping is not working.
When i see the keysconfig file, the key maping is available. Even then it is not working.
Is it the problem with the simulator or do i need to add any thing to my code? please help me in this.

I am using C UI Widgets sample application and Saphire (1.0.2.549.1). As you sugested here raw data is sent to the text widget and i am not modifying the keys. But on this simulator when i am trying to use SHIFT+ any key for example SHIFT + AVK_A, then the input box is filled with "lower case a". The maping is not working.
When i see the keysconfig file, the key maping is available. Even then it is not working.
Is it the problem with the simulator or do i need to add any thing to my code? please help me in this.

I am using C UI Widgets sample application and Saphire (1.0.2.549.1). As you sugested here raw data is sent to the text widget and i am not modifying the keys. But on this simulator when i am trying to use SHIFT+ any key for example SHIFT + AVK_A, then the input box is filled with "lower case a". The maping is not working.
When i see the keysconfig file, the key maping is available. Even then it is not working.
Is it the problem with the simulator or do i need to add any thing to my code? please help me in this.

Are you pressing SHIFT first, releasing it and then pressing any key? OR Keeping SHIFT pressed and pressing any other key? As you cannot do latter from simulator, you need to use PC keyboard. I tried on saphhire 1.0.3.692 and I was able to enter capital letters.

Are you pressing SHIFT first, releasing it and then pressing any key? OR Keeping SHIFT pressed and pressing any other key? As you cannot do latter from simulator, you need to use PC keyboard. I tried on saphhire 1.0.3.692 and I was able to enter capital letters.