Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { "Accurate timing (slower)", MB_ONOFF, MA_OPT_ACC_TIMING, ¤tConfig.PicoOpt, 0x040, 0, 0, 1 },
- Start
- B
- -----
- A = []
- C = []
- MODE
- X
- Y
- Z
- enum { GP2X_UP=1<<6, GP2X_LEFT=1<<5, GP2X_DOWN=1<<27, GP2X_RIGHT=1<<18,
- GP2X_START=1<<16, GP2X_SELECT=1<<17, GP2X_L=1<<14, GP2X_R=1<<15,
- GP2X_A=1<<2, GP2X_B=1<<0, GP2X_X=1<<1, GP2X_Y=1<<19,
- GP2X_VOL_UP=1<<20, GP2X_VOL_DOWN=1<<21, GP2X_PUSH=1<<29 };
- // PicoPad[] format: MXYZ SACB RLDU
- static bind_action_t ctrl_actions[] =
- {
- { "UP ", 0x001 }, //0x001 UP 0
- { "DOWN ", 0x002 }, //0x002 DOWN 1
- { "LEFT ", 0x004 }, //0x004 LEFT 2
- { "RIGHT ", 0x008 }, //0x008 RIGHT 3
- { "A ", 0x020 }, //0x040 Y - 5
- { "B ", 0x010 }, //0x010 B - 4
- { "C ", 0x800 }, //0x020 A - 11
- { "START ", 0x080 }, //0x080 START - 7
- { "MODE ", 0x400 }, //0x800 POWER - 10
- { "X ", 0x100 }, //0x400 R - 8
- { "Y ", 0x040 }, //0x200 L 6
- { "Z ", 0x800 }, //0x100 X 11
- };
- static const char *gp2xKeyNames[] = {
- "A", "B", "Y", "Z", "C", "LEFT", "UP", "???", //0
- "???", "???", "???", "???", "???", "???", "L", "R", //8
- "START", "SELECT", "RIGHT", "X", "???", "???", "POWER","POWER", //16
- "???", "???", "???", "DOWN", "???", "POWER", "???", "???" //24
- };
- static bind_action_t ctrl_actions[] =
- {
- { "UP ", 0x001 }, 0
- { "DOWN ", 0x002 }, 1
- { "LEFT ", 0x004 }, 2
- { "RIGHT ", 0x008 }, 3
- { "A ", 0x040 }, 6
- { "B ", 0x010 }, 4
- { "C ", 0x020 }, 5
- { "START ", 0x080 }, 7
- { "MODE ", 0x800 }, 11
- { "X ", 0x400 }, 10
- { "Y ", 0x200 }, 9
- { "Z ", 0x100 }, 8
- };
- gp2xKeyName = ctrl_action
- REAL_KEY = Action
- // gp2xKeyName = ctrl_action
- // REAL_KEY = Action
- // in pico it was "C (Action) = A (REAL_KEY)"
- currentConfig.KeyBinds[ 6] = 1<<0; // SACB RLDU
- currentConfig.KeyBinds[27] = 1<<1;
- currentConfig.KeyBinds[ 5] = 1<<2;
- currentConfig.KeyBinds[18] = 1<<3;
- currentConfig.KeyBinds[ 1] = 1<<4; // B = B
- // currentConfig.KeyBinds[ 0] = 1<<5; //wrong A = C, in pico it was "C (action) = A (real)"
- currentConfig.KeyBinds[ 4] = 1<<5; // C = C
- // currentConfig.KeyBinds[ 2] = 1<<6; //wrong Y = A, in pico it was "A (action) = Y (real)"
- currentConfig.KeyBinds[ 0] = 1<<6; // A = A
- currentConfig.KeyBinds[16] = 1<<7; // START = START
- //new
- currentConfig.KeyBinds[15] = 1<<11; // R = MODE
- currentConfig.KeyBinds[19] = 1<<10; // X = X
- currentConfig.KeyBinds[2] = 1<<9; // = Y
- currentConfig.KeyBinds[3] = 1<<8; // = Z
- // ---
- /* currentConfig.KeyBinds[19] = 1<<26; // switch rend
- currentConfig.KeyBinds[14] = 1<<27; // save state
- currentConfig.KeyBinds[15] = 1<<28; // load state
- currentConfig.KeyBinds[23] = 1<<29; // vol up
- currentConfig.KeyBinds[22] = 1<<30; // vol down
- */
Add Comment
Please, Sign In to add comment