1 |
if (control_test == false) |
2 |
{ |
3 |
draw_set_color(c_white) |
4 |
draw_set_font(fnt_mainb) |
5 |
draw_set_halign(fa_center) |
6 |
draw_text(((__view_get((0 << 0), 0)) + 200), ((__view_get((1 << 0), 0)) + 13), string_hash_to_newline("JOYSTICK CONFIG")) |
7 |
draw_set_font(fnt_battle) |
8 |
draw_set_halign(fa_left) |
9 |
var xx = (__view_get((0 << 0), 0)) + 20 |
10 |
if (p[0] == true) |
11 |
draw_set_color(c_yellow) |
12 |
draw_text(xx, ((__view_get((1 << 0), 0)) + 44), string_hash_to_newline("Exit")) |
13 |
draw_set_color(c_white) |
14 |
if (p[1] == true) |
15 |
draw_set_color(c_yellow) |
16 |
draw_text(xx, ((__view_get((1 << 0), 0)) + 79), string_hash_to_newline("CONFIRM - [Z, ENTER]::")) |
17 |
draw_set_color(c_white) |
18 |
if (p[2] == true) |
19 |
draw_set_color(c_yellow) |
20 |
draw_text(xx, ((__view_get((1 << 0), 0)) + 94), string_hash_to_newline("CANCEL - [X, SHIFT]::")) |
21 |
draw_set_color(c_white) |
22 |
if (p[3] == true) |
23 |
draw_set_color(c_yellow) |
24 |
draw_text(xx, ((__view_get((1 << 0), 0)) + 109), string_hash_to_newline("MENU - [C, CTRL] ::")) |
25 |
draw_set_color(c_white) |
26 |
if (p[4] == true) |
27 |
draw_set_color(c_yellow) |
28 |
draw_text(xx, ((__view_get((1 << 0), 0)) + 130), string_hash_to_newline("DEADZONE :: " + (string(round(global.gamepad_deadzone * 100))) + "%")) |
29 |
draw_set_color(c_white) |
30 |
if (p[5] == true) |
31 |
draw_set_color(c_yellow) |
32 |
draw_text(xx, ((__view_get((1 << 0), 0)) + 160), string_hash_to_newline("RESET TO DEFAULT")) |
33 |
draw_set_color(c_white) |
34 |
if (p[6] == true) |
35 |
draw_set_color(c_yellow) |
36 |
draw_text(xx, ((__view_get((1 << 0), 0)) + 175), string_hash_to_newline("CONTROL TEST")) |
37 |
draw_set_color(c_white) |
38 |
draw_set_color(c_aqua) |
39 |
draw_text((xx + 180), ((__view_get((1 << 0), 0)) + 79), (string_hash_to_newline(string(global.buttonText1)) + ", RB")) |
40 |
draw_text((xx + 180), ((__view_get((1 << 0), 0)) + 94), (string_hash_to_newline(string(global.buttonText2)) + ", LB")) |
41 |
draw_text((xx + 180), ((__view_get((1 << 0), 0)) + 109), string_hash_to_newline(string(global.buttonText3))) |
42 |
} |