You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AM2R-TimeTrials/scripts/remap_duplicate_kbkey.gml

29 lines
1.4 KiB

/// remap_duplicate_kbkey(key)
if (global.opkeybtn_up == argument0) {
global.opkeybtn_up = get_control_keycode(global.curropt);
} else if (global.opkeybtn_down == argument0) {
global.opkeybtn_down = get_control_keycode(global.curropt);
} else if (global.opkeybtn_left == argument0) {
global.opkeybtn_left = get_control_keycode(global.curropt);
} else if (global.opkeybtn_right == argument0) {
global.opkeybtn_right = get_control_keycode(global.curropt);
} else if (global.opkeybtn_a == argument0) {
global.opkeybtn_a = get_control_keycode(global.curropt);
} else if (global.opkeybtn_b == argument0) {
global.opkeybtn_b = get_control_keycode(global.curropt);
} else if (global.opkeybtn_l == argument0) {
global.opkeybtn_l = get_control_keycode(global.curropt);
} else if (global.opkeybtn_l2 == argument0) {
global.opkeybtn_l2 = get_control_keycode(global.curropt);
} else if (global.opkeybtn_r2 == argument0) {
global.opkeybtn_r2 = get_control_keycode(global.curropt);
} else if (global.opkeybtn_x == argument0) {
global.opkeybtn_x = get_control_keycode(global.curropt);
} else if (global.opkeybtn_r == argument0) {
global.opkeybtn_r = get_control_keycode(global.curropt);
} else if (global.opkeybtn_select == argument0) {
global.opkeybtn_select = get_control_keycode(global.curropt);
} else if (global.opkeybtn_start == argument0) {
global.opkeybtn_start = get_control_keycode(global.curropt);
}