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

Developer

Forums

Forums:

Hi,

1. Does anybody know where in Qualcomm site or anywhere I can get the keymapfile for LG VX8100, LG VX7000, Motorola V710 or Motorola E815 handset?

2. What is the meaning of the key configurations in the keymapfiles. For example, what are the numbers for the following keys in LGVX6000Key.ini?

[KEYMAP]
AVK_LEFT=135
AVK_RIGHT=136

Is it possible to write a keymapfile for LG VX8100 by myself? Thats why I would like to know what are those numbers above?
??

Thanks

Hello..... anybody??? BREW support????

Hello..... anybody??? BREW support????

Somebody ... Could somebody please tell me about keymapfiles??? It is really important
Thanks in advance.

Somebody ... Could somebody please tell me about keymapfiles??? It is really important
Thanks in advance.

I have solved the mystry in generating Keymapfiles. :D . It seems that most of the handset supports the default keymaps. I made it work for LGVX7000.

I have solved the mystry in generating Keymapfiles. :D . It seems that most of the handset supports the default keymaps. I made it work for LGVX7000.

:(
Again back to my original question at the start of this thread....
What are the meanings of the right handside numbers in the device keymapfile?
I am working with LGVX7000. Ok, CLR and END works like a charm but not the left and right SOFT keys. I researched the forum and did tried some suggestions (like enforcing default keymapfile for AVK_SOFT1 and AVK_LEFT etc..) but it did not work. So I need to write my own keymapfile for VX7000. Any ides????
Any help ????
Thanks.

:(
Again back to my original question at the start of this thread....
What are the meanings of the right handside numbers in the device keymapfile?
I am working with LGVX7000. Ok, CLR and END works like a charm but not the left and right SOFT keys. I researched the forum and did tried some suggestions (like enforcing default keymapfile for AVK_SOFT1 and AVK_LEFT etc..) but it did not work. So I need to write my own keymapfile for VX7000. Any ides????
Any help ????
Thanks.

First step
Check some KEYMAP files from the QUALCOMM site. So You can realize what the content of a KEYMAP file is.
Second step
Try to get one KEYMAP file from a similar family-model from the same manufacter.
Third step
With the KEYMAP file from the second step, make a perl script just for trying the file.
Try with the common keys AVK_RIGHT, AVK_LEFT, AVK_UP, AVK_DOWN, AVK_SELECT, at the end you are going to find probably the one You are looking for (lucky You).
Four step
If You were not lucky with the third step, this step is a little cumbersome, with the KEYMAP file that better suits your phone check what are those keys that are not working with your phone in the worst case the number of keys are going to be 2. Then, You need to try several values for the key(s) until the key is send to the phone, the range of this keys are between 80 and 180 (I could be wrong), but this is a good start.
Just in case I am ataching the KEYMAP file for the audiovox CDM8410

First step
Check some KEYMAP files from the QUALCOMM site. So You can realize what the content of a KEYMAP file is.
Second step
Try to get one KEYMAP file from a similar family-model from the same manufacter.
Third step
With the KEYMAP file from the second step, make a perl script just for trying the file.
Try with the common keys AVK_RIGHT, AVK_LEFT, AVK_UP, AVK_DOWN, AVK_SELECT, at the end you are going to find probably the one You are looking for (lucky You).
Four step
If You were not lucky with the third step, this step is a little cumbersome, with the KEYMAP file that better suits your phone check what are those keys that are not working with your phone in the worst case the number of keys are going to be 2. Then, You need to try several values for the key(s) until the key is send to the phone, the range of this keys are between 80 and 180 (I could be wrong), but this is a good start.
Just in case I am ataching the KEYMAP file for the audiovox CDM8410

Thank you soooo much aramirez...Finally somebody responded :) I even started a SR in developper extranet:)..hahha.
Anyway, I appreciate your answer. I am working with Motorola Razr now. Like you have said, I have tried Motorola E815's keymapfile as the base. All keys works like a charm except the Left soft key (I haven't tried Right soft key).
=========================================================
My code:
# Left Soft key Does not work
GrinderPl::PressKey(AVK_LEFT, 20); #perform an AVK_LEFT key press
GrinderPl::LoadDeviceConfigFile($keymapfile2); # load Grinder default handset configuration
if(GrinderPl::PressKey(AVK_LEFT, 20)== 1 ){; # now AVK_LEFT is really AVK_SOFT1, this line performs an AVK_SOFT1 key press
print LOGFILE "Video is rotated. \n";
}
else{
die print LOGFILE "Error: Could not rotate the video. \n";
}
GrinderPl::LoadDeviceConfigFile($keymapfile); # reload handset configuration
==========================================================
This same code works for LGVX6000, LGVX7000 but not Razr. I will try to write razr.ini using numbers 80 to 180. Thanks for the tips.

Thank you soooo much aramirez...Finally somebody responded :) I even started a SR in developper extranet:)..hahha.
Anyway, I appreciate your answer. I am working with Motorola Razr now. Like you have said, I have tried Motorola E815's keymapfile as the base. All keys works like a charm except the Left soft key (I haven't tried Right soft key).
=========================================================
My code:
# Left Soft key Does not work
GrinderPl::PressKey(AVK_LEFT, 20); #perform an AVK_LEFT key press
GrinderPl::LoadDeviceConfigFile($keymapfile2); # load Grinder default handset configuration
if(GrinderPl::PressKey(AVK_LEFT, 20)== 1 ){; # now AVK_LEFT is really AVK_SOFT1, this line performs an AVK_SOFT1 key press
print LOGFILE "Video is rotated. \n";
}
else{
die print LOGFILE "Error: Could not rotate the video. \n";
}
GrinderPl::LoadDeviceConfigFile($keymapfile); # reload handset configuration
==========================================================
This same code works for LGVX6000, LGVX7000 but not Razr. I will try to write razr.ini using numbers 80 to 180. Thanks for the tips.

for razr you could try this..
AVK_SELECT=112
AVK_UP=84
AVK_DOWN=85
AVK_LEFT=9
AVK_RIGHT=10
bolshevik

for razr you could try this..
AVK_SELECT=112
AVK_UP=84
AVK_DOWN=85
AVK_LEFT=9
AVK_RIGHT=10
bolshevik

Thanks for your reply,bolshevik.
This is eaxctly the keymapfile I have used for Razr :) All keys work fine except the Left and Right soft keys.

Thanks for your reply,bolshevik.
This is eaxctly the keymapfile I have used for Razr :) All keys work fine except the Left and Right soft keys.