(Android) Add iControlpad
This commit is contained in:
parent
a63ce85d9d
commit
99a2a438cb
|
@ -179,6 +179,35 @@ void input_autodetect_setup (void *data, char *msg, size_t sizeof_msg, unsigned
|
|||
keycode_lut[AKEYCODE_BUTTON_START] |= ((RETRO_DEVICE_ID_JOYPAD_START+1) << shift);
|
||||
}
|
||||
}
|
||||
else if (strstr(name_buf, "shooter-keypad"))
|
||||
{
|
||||
/* iControlpad Bluez IME */
|
||||
g_settings.input.dpad_emulation[port] = DPAD_EMULATION_NONE;
|
||||
keycode_lut[AKEYCODE_DPAD_UP] |= ((RETRO_DEVICE_ID_JOYPAD_UP+1) << shift);
|
||||
keycode_lut[AKEYCODE_DPAD_DOWN] |= ((RETRO_DEVICE_ID_JOYPAD_DOWN+1) << shift);
|
||||
keycode_lut[AKEYCODE_DPAD_LEFT] |= ((RETRO_DEVICE_ID_JOYPAD_LEFT+1) << shift);
|
||||
keycode_lut[AKEYCODE_DPAD_RIGHT] |= ((RETRO_DEVICE_ID_JOYPAD_RIGHT+1) << shift);
|
||||
keycode_lut[AKEYCODE_BUTTON_X] |= ((RETRO_DEVICE_ID_JOYPAD_B+1) << shift);
|
||||
keycode_lut[AKEYCODE_BUTTON_B] |= ((RETRO_DEVICE_ID_JOYPAD_A+1) << shift);
|
||||
keycode_lut[AKEYCODE_BUTTON_A] |= ((RETRO_DEVICE_ID_JOYPAD_Y+1) << shift);
|
||||
keycode_lut[AKEYCODE_BUTTON_Y] |= ((RETRO_DEVICE_ID_JOYPAD_X+1) << shift);
|
||||
keycode_lut[AKEYCODE_BUTTON_L1] |= ((RETRO_DEVICE_ID_JOYPAD_L+1) << shift);
|
||||
keycode_lut[AKEYCODE_BUTTON_R1] |= ((RETRO_DEVICE_ID_JOYPAD_R+1) << shift);
|
||||
keycode_lut[AKEYCODE_BUTTON_START] |= ((RETRO_DEVICE_ID_JOYPAD_START+1) << shift);
|
||||
keycode_lut[AKEYCODE_BUTTON_SELECT] |= ((RETRO_DEVICE_ID_JOYPAD_SELECT+1) << shift);
|
||||
|
||||
/* left analog stick */
|
||||
keycode_lut[AKEYCODE_W] |= ((RETRO_DEVICE_ID_JOYPAD_UP+1) << shift);
|
||||
keycode_lut[AKEYCODE_S] |= ((RETRO_DEVICE_ID_JOYPAD_DOWN+1) << shift);
|
||||
keycode_lut[AKEYCODE_A] |= ((RETRO_DEVICE_ID_JOYPAD_LEFT+1) << shift);
|
||||
keycode_lut[AKEYCODE_D] |= ((RETRO_DEVICE_ID_JOYPAD_RIGHT+1) << shift);
|
||||
|
||||
/* right analog stick */
|
||||
// Left - 11
|
||||
// Right - 13
|
||||
// Down - 12
|
||||
// Up - 15
|
||||
}
|
||||
else if (strstr(name_buf, "TTT THT Arcade console 2P USB Play"))
|
||||
{
|
||||
/* same as Rumblepad 2 - merge? */
|
||||
|
@ -385,12 +414,6 @@ void input_autodetect_setup (void *data, char *msg, size_t sizeof_msg, unsigned
|
|||
bool do_invert = (strstr(name_buf, "Gamepad 0") || strstr(name_buf, "Gamepad 1") ||
|
||||
strstr(name_buf, "Gamepad 2") || strstr(name_buf, "Gamepad 3"));
|
||||
|
||||
g_settings.input.dpad_emulation[port] = DPAD_EMULATION_NONE;
|
||||
keycode_lut[AKEYCODE_DPAD_UP] |= ((RETRO_DEVICE_ID_JOYPAD_UP+1) << shift);
|
||||
keycode_lut[AKEYCODE_DPAD_DOWN] |= ((RETRO_DEVICE_ID_JOYPAD_DOWN+1) << shift);
|
||||
keycode_lut[AKEYCODE_DPAD_LEFT] |= ((RETRO_DEVICE_ID_JOYPAD_LEFT+1) << shift);
|
||||
keycode_lut[AKEYCODE_DPAD_RIGHT] |= ((RETRO_DEVICE_ID_JOYPAD_RIGHT+1) << shift);
|
||||
|
||||
if (do_invert)
|
||||
{
|
||||
keycode_lut[AKEYCODE_BUTTON_A] |= ((RETRO_DEVICE_ID_JOYPAD_B+1) << shift);
|
||||
|
|
|
@ -9,5 +9,5 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="40px"
|
||||
android:text="The following pads have been added to the autodetection list:\n\n* Logitech/Logicool Rumblepad 2\n* Microsoft Sidewinder USB (ISSUE - diagonals not working).\n* Microsoft Xbox 360 Wired/Wireless (ISSUE - diagonals not working).\n* PS3 Sixaxis/DualShock 3 (using either USB or Dancingpixelstudios' IME app)\n* MOGA (using either 'root' gamepad mode or official IME app)\n* JXD S5110\n* Snakebyte idroid\n* Logitech Dual Action\n* Mayflash Super Joy Box 3 Pro\n*RetroUSB SNES RetroPort\n*RetroUSB NES RetroPad\n*Buffalo SNES Pad\n* Elecom PS1/PS2 to USB\n* Archos gamepad\n* Xbox 1 (Titanium X-Joy Converter) (ISSUE - diagonals not working).\n* Red Samurai (IME app Bluetooth or gamepad mode\n* Xperia Play\n* Trust Raptor\n* Logitech F710\n* DragonRise USB\n* Madcatz PS3 fighting stick (TODO - TEST)\n* iPega (iCade profile)\n* PC2JAMMA-USB (TODO - TEST)\n* Genius MaxFire G-08XU\n* Zeemote Steelseries\n* Saitek Rumblepad\n* Super Smart Joy\n* Groupwise PS2 to USB converter\n* Toodles 2008 Chimp\n* Sega Saturn USB pad\n*Mayflash Wii Classic\n* Mayflash PS2 to USB\n* Nintendo Wii (using ccpcreations.WiiUse IME app)\n* Nyko Playpad Pro" />
|
||||
android:text="The following pads have been added to the autodetection list:\n\n* Logitech/Logicool Rumblepad 2\n* Microsoft Sidewinder USB (ISSUE - diagonals not working).\n* Microsoft Xbox 360 Wired/Wireless (ISSUE - diagonals not working).\n* PS3 Sixaxis/DualShock 3 (using either USB or Dancingpixelstudios' IME app)\n* MOGA (using either 'root' gamepad mode or official IME app)\n* JXD S5110\n* Snakebyte idroid\n* Logitech Dual Action\n* Mayflash Super Joy Box 3 Pro\n*RetroUSB SNES RetroPort\n*RetroUSB NES RetroPad\n*Buffalo SNES Pad\n* Elecom PS1/PS2 to USB\n* Archos gamepad\n* Xbox 1 (Titanium X-Joy Converter) (ISSUE - diagonals not working).\n* Red Samurai (IME app Bluetooth or gamepad mode\n* Xperia Play\n* Trust Raptor\n* Logitech F710\n* DragonRise USB\n* Madcatz PS3 fighting stick\n* iControlPad (needs to be tested)\n* iPega (iCade profile)\n* PC2JAMMA-USB (TODO - TEST)\n* Genius MaxFire G-08XU\n* Zeemote Steelseries\n* Saitek Rumblepad\n* Super Smart Joy\n* Groupwise PS2 to USB converter\n* Toodles 2008 Chimp\n* Sega Saturn USB pad\n*Mayflash Wii Classic\n* Mayflash PS2 to USB\n* Nintendo Wii (using ccpcreations.WiiUse IME app)\n* Nyko Playpad Pro" />
|
||||
</LinearLayout>
|
||||
|
|
|
@ -18,14 +18,14 @@ put disksys.rom into your system directory.\n
|
|||
- If you get any problems of the sort DISK A / B ERR 07' - pressing Y button again or letting it run its course should do it.\n
|
||||
- NOTE - Famicom Disk System loading is slow, so you might be tempted to fast forward through most of it. However, I'd advise caution when doing so and to savestate regularly in case 'fast forwarding' can negatively affect disk loading.\n
|
||||
* [FBA core] Various changes/fixes\n
|
||||
- Hooked up Eco Fighters controls (Turn 1/Turn 2 bound to L and R buttons)\n
|
||||
- Hooked up Pnickie controls (Turn 1/Turn 2 bound to L and R buttons - press
|
||||
- Hook up Eco Fighters controls (Turn 1/Turn 2 bound to L and R buttons)\n
|
||||
- Hook up Pnickie controls (Turn 1/Turn 2 bound to L and R buttons - press
|
||||
one of the buttons to progress beyond start screen)\n
|
||||
- Hooked up Continental Circus controls - Brake 2/Brake 3 (L1/L2 buttons)
|
||||
- Hook up Continental Circus controls - Brake 2/Brake 3 (L1/L2 buttons)
|
||||
and Accelerate 2/Accelerate 3 (R1/R2 buttons)\n
|
||||
- Hooked up Gun Smoke controls - Start button (needed to progress beyond
|
||||
- Hook up Gun Smoke controls - Start button (needed to progress beyond
|
||||
title screen)\n
|
||||
- Hooked up Mighty Pang controls (P1 Shot1/P1 Shot2/P2 Shot1/P2 Shot2)\n
|
||||
- Hook up Mighty Pang controls (P1 Shot1/P1 Shot2/P2 Shot1/P2 Shot2)\n
|
||||
- Fixed Varia Metal palette\n
|
||||
- Fixed Fairyland Story palette\n
|
||||
- Fixed Return of the Invaders palette\n
|
||||
|
@ -34,6 +34,8 @@ title screen)\n
|
|||
* [Android] Fixed regression where a button bound to AKEYCODE_BACK would 'exit out'
|
||||
of RetroArch.\n
|
||||
* [Android] Fixes Madcatz fighting stick being autodetected properly.\n
|
||||
* [Android] Input autodetection expanded -\n
|
||||
- iControlpad (needs to be tested)\n
|
||||
* [Unzipping [All consoles/Android]] Moved from rzlib to miniz/minizip -should increase compatibility
|
||||
with ZIP archives.\n
|
||||
\n
|
||||
|
|
|
@ -39,6 +39,8 @@ fit into memory on Gamecube).
|
|||
* [Android] Fixed regression where a button bound to AKEYCODE_BACK would 'exit out'
|
||||
of RetroArch.
|
||||
* [Android] Fixes Madcatz fighting stick being autodetected properly.
|
||||
* [Android] Input autodetection expanded -
|
||||
- iControlpad
|
||||
* [Gamecube] Made RetroArch cores 'standalone' - ie. no core switching.
|
||||
* [Xbox 1] Add Low RAM mode - this needs to be used to play games that won't otherwise fit into RAM,
|
||||
such as Street Fighter Alpha 3/Vampire Savior and other big ROMs in FBA Cores CPS2/NeoGeo/FBA.
|
||||
|
|
Loading…
Reference in New Issue