Site Announcements

All Passwords have been lost in upgrade. Please recover using forgot password form.

Change Key Functions

Basic C++ programing, understanding Elfpack and Lib functions, Modding Elves

Change Key Functions

Postby M.A.T. on 27 Jun 2010 10:16

Hi developers,

I want to write an elf which changes function of two keys. For example, when I press "key_up" it will go down as if I pressed "key_down". The only thing I want to learn is that how can I send command to phone to perform a "key_down" action when I pressed "key_up". Is this possible? If so, which function I can use?

I also checked library functions and found "void DISP_DESC_SetOnKey( DISP_DESC*, DISP_OBJ_ONKEY_METHOD );" function. If this is what I want, could you please tell me how to use this function?

I hope I was clear enough.

Thanks in advance.

Regards...

Image

User avatar
M.A.T.


Posts: 5
Joined: 31 Mar 2010 11:03
Thanks Given: 6 times
Thanks Recieved: 2 times

Return to ELFs

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style by Gokin Studios