daily pastebin goal
32%
SHARE
TWEET

Untitled

a guest Aug 12th, 2011 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /** TouchMap[] ***********************************************/
  2. /** This map translates on-screen rectangles into keys.     **/
  3. /*************************************************************/
  4. struct
  5. {
  6.   byte KeyCode;
  7.   int X,Y,W,H;
  8. } TouchMap[] =
  9. {
  10.   { KBD_RIGHT,  380,45,43,28 },
  11.   { KBD_LEFT,   380,163,43,28 },
  12.   { KBD_UP,     352,89,25,58 },
  13.   { KBD_DOWN,   427,89,25,58 },
  14.  
  15.   { KBD_F5,     291,43,25,65 },
  16.   { KBD_F4,     291,125,25,65 },
  17.   { KBD_F3,     291,207,25,65 },
  18.   { KBD_F2,     291,289,25,65 },
  19.   { KBD_F1,     291,371,25,65 },
  20.  
  21.   { KBD_CLEAR,  467,40,30,67 },
  22.   { KBD_POWER,  511,40,30,67 },
  23.   { KBD_DIV,555,40,30,67 },
  24.   { KBD_MUL,    599,40,30,67 },
  25.   { KBD_MINUS,  643,40,30,67 },
  26.   { KBD_PLUS,   687,40,30,67 },
  27.   { KBD_ENTER,  731,40,38,67 },
  28.  
  29.   { KBD_CUSTOM, 467,123,30,67 },
  30.   { KBD_TAN,    511,123,30,67 },
  31.   { KBD_RPARENT,555,123,30,67 },
  32.   { KBD_9,      599,123,30,67 },
  33.   { KBD_6,      643,123,30,67 },
  34.   { KBD_3,      687,123,30,67 },
  35.   { KBD_SIGN,   731,123,30,67 },
  36.  
  37.   { KBD_MORE,   379,206,30,67 },
  38.   { KBD_DEL,    423,206,30,67 },
  39.   { KBD_PRGM,   467,206,30,67 },
  40.   { KBD_COS,    511,206,30,67 },
  41.   { KBD_LPARENT,555,206,30,67 },
  42.   { KBD_8,      599,206,30,67 },
  43.   { KBD_5,      643,206,30,67 },
  44.   { KBD_2,      687,206,30,67 },
  45.   { KBD_DOT,    731,206,30,67 },
  46.  
  47.   { KBD_EXIT,   379,289,30,67 },
  48.   { KBD_XVAR,   423,289,30,67 },
  49.   { KBD_STAT,   467,289,30,67 },
  50.   { KBD_SIN,    511,289,30,67 },
  51.   { KBD_EE,     555,289,30,67 },
  52.   { KBD_7,      599,289,30,67 },
  53.   { KBD_4,      643,289,30,67 },
  54.   { KBD_1,      687,289,30,67 },
  55.   { KBD_0,      731,289,30,67 },
  56.  
  57.   { KBD_2ND,    379,372,30,67 },
  58.   { KBD_ALPHA,  423,372,30,67 },
  59.   { KBD_GRAPH,  467,372,30,67 },
  60.   { KBD_LOG,    511,372,30,67 },
  61.   { KBD_LN,     555,372,30,67 },
  62.   { KBD_SQR,    599,372,30,67 },
  63.   { KBD_COMMA,  643,372,30,67 },
  64.   { KBD_STO,    687,372,30,67 },
  65.   { KBD_ON,     731,372,30,67 },
  66.  
  67.   { 0,0,0,0,0 }
  68. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top