1 | function button1_p_ch1() |
2 | { |
3 | if (global.input_pressed[4]) |
4 | { |
5 | return 1; |
6 | } |
7 | else if (global.input_pressed[7]) |
8 | { |
9 | return 1; |
10 | } |
11 | else if (gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_shoulderlb)) |
12 | { |
13 | if (!obj_gamecontroller.gamepad_shoulderlb_reassign) |
14 | return 1; |
15 | } |
16 | } |