mirror of
https://github.com/dborth/fceugx.git
synced 2024-11-01 06:55:05 +01:00
change GC button mappings - select - Z, start - start, home - start+A, VS - L
This commit is contained in:
parent
4c5dd7eb9b
commit
55e906b5c5
@ -40,10 +40,10 @@ unsigned int nespadmap[] = {
|
|||||||
/*** Gamecube controller Padmap ***/
|
/*** Gamecube controller Padmap ***/
|
||||||
unsigned int gcpadmap[] = {
|
unsigned int gcpadmap[] = {
|
||||||
PAD_BUTTON_B, PAD_BUTTON_A,
|
PAD_BUTTON_B, PAD_BUTTON_A,
|
||||||
PAD_TRIGGER_L, PAD_TRIGGER_R,
|
PAD_TRIGGER_Z, PAD_BUTTON_START,
|
||||||
PAD_BUTTON_UP, PAD_BUTTON_DOWN,
|
PAD_BUTTON_UP, PAD_BUTTON_DOWN,
|
||||||
PAD_BUTTON_LEFT, PAD_BUTTON_RIGHT,
|
PAD_BUTTON_LEFT, PAD_BUTTON_RIGHT,
|
||||||
PAD_TRIGGER_Z
|
PAD_TRIGGER_L
|
||||||
};
|
};
|
||||||
/*** Wiimote Padmap ***/
|
/*** Wiimote Padmap ***/
|
||||||
unsigned int wmpadmap[] = {
|
unsigned int wmpadmap[] = {
|
||||||
@ -460,7 +460,7 @@ void GetJoy()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// request to go back to menu
|
// request to go back to menu
|
||||||
if ((gc_px < -70) || (jp & PAD_BUTTON_START)
|
if ((gc_px < -70) || ((jp & PAD_BUTTON_START) && (jp & PAD_BUTTON_A))
|
||||||
#ifdef HW_RVL
|
#ifdef HW_RVL
|
||||||
|| (wm_pb & WPAD_BUTTON_HOME)
|
|| (wm_pb & WPAD_BUTTON_HOME)
|
||||||
|| (wm_pb & WPAD_CLASSIC_BUTTON_HOME)
|
|| (wm_pb & WPAD_CLASSIC_BUTTON_HOME)
|
||||||
|
Loading…
Reference in New Issue
Block a user