GPIO (USERKEY)

Hussain Aftab
Hi,

I want to use GPIO for keypad other than the 6 keys defined in 

    "userkey.cpp"
Eg:
in user it is defined for key: K1

//********************************************************************//
        //EINT8 - K1 - VK_TAB - 0x09
        if(s2440IOP->rEINTMASK&1<<8)
  {
  RETAILMSG(1,(TEXT("UserKeyProcessThread Processing! -K1\r\n")));
  keybd_event(VK_TAB ,0x09, 0, 0);
  Sleep(30);
  keybd_event(VK_TAB ,0x09, KEYEVENTF_KEYUP, 0);
  InterruptDone(SYSINTR_USER_KEY);
  }
//********************************************************************//


here the key K1 is assigned the TAB key
and the GPIO used is EINT8

I only want to know that if i want to use any other GPIO
such as EINT0,1,.. etc
What editing should i do in the code above..???

Thanxs in advance...

Regards
Hussain Aftab

abdullah
just see the data sheet and you can do very easily i have designed a
complete keyboard with around 100 key functions its simple

best regards
Mohazzab

moh_bim@yahoo.com


for further help you can email me

Yalcin
Hi Mohazzab,

Can you please help me for the keyboard you mention in friendlyram.net 
You are saying that there is information in datasheet folder to design
keybord, they all complicated and i could not understant any part of it  in
fact I need a kind of keyboard with around 100 key entry. 

Is there any way you can help me with this.


My email address : yalcin2005@gmail.com

Regards


Yalcin