gpsp icon indicating copy to clipboard operation
gpsp copied to clipboard

How can i change the menu combo

Open GM-Script-Writer-62850 opened this issue 10 years ago • 2 comments

To my understanding Select+R is hard coded, where is this at inte source code i would liek to change it to select+start, i plany to recompile this on a raspberry pi im using USB SNES controllers

IF i can define save/load state as well as a exit combo that would be even better here are the buttons to numbers that the controllers use

b_btn = "2"
y_btn = "3"
select_btn = "8"
start_btn = "9"
up_axis = "-1"
down_axis = "+1"
left_axis = "-0"
right_axis = "+0"
a_btn = "1"
x_btn = "0"
l_btn = "4"
r_btn = "5"

preferbally i would like to make Select + L = Save state Select + R = Load state Select + Start = exit

alternativaly i would like to make Slect + Start the menu

GM-Script-Writer-62850 avatar Dec 04 '14 21:12 GM-Script-Writer-62850

You can change it in file "input.c" ..... if ((menu_hotkey) && ( newkey == (BUTTON_SELECT | BUTTON_R))) { newkey &= ~(BUTTON_SELECT | BUTTON_R); .....

DPRCZ avatar Dec 06 '14 11:12 DPRCZ

thanks

GM-Script-Writer-62850 avatar Dec 06 '14 16:12 GM-Script-Writer-62850