forked from ericfrederich/smlinux
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pro1.patch
67 lines (65 loc) · 3.63 KB
/
pro1.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
diff --git a/src/pc/configfile.c b/src/pc/configfile.c
index 7411d4f..6d690d7 100644
--- a/src/pc/configfile.c
+++ b/src/pc/configfile.c
@@ -56,20 +56,20 @@ unsigned int configSfxVolume = MAX_VOLUME;
unsigned int configEnvVolume = MAX_VOLUME;
// Keyboard mappings (VK_ values, by default keyboard/gamepad/mouse)
-unsigned int configKeyA[MAX_BINDS] = { 0x0026, 0x1000, 0x1103 };
-unsigned int configKeyB[MAX_BINDS] = { 0x0033, 0x1002, 0x1101 };
-unsigned int configKeyStart[MAX_BINDS] = { 0x0039, 0x1006, VK_INVALID };
-unsigned int configKeyL[MAX_BINDS] = { 0x002A, 0x1009, 0x1104 };
-unsigned int configKeyR[MAX_BINDS] = { 0x0036, 0x100A, 0x101B };
-unsigned int configKeyZ[MAX_BINDS] = { 0x0025, 0x1007, 0x101A };
-unsigned int configKeyCUp[MAX_BINDS] = { 0x0148, VK_INVALID, VK_INVALID };
+unsigned int configKeyA[MAX_BINDS] = { 0x0026, 0x1000, 0x001C };
+unsigned int configKeyB[MAX_BINDS] = { 0x0028, 0x1002, 0x0153 };
+unsigned int configKeyStart[MAX_BINDS] = { 0x0039, 0x101C, 0x0001 };
+unsigned int configKeyL[MAX_BINDS] = { 0x0033, 0x1001, 0x0034 };
+unsigned int configKeyR[MAX_BINDS] = { 0x002A, 0x100A, 0x0013 };
+unsigned int configKeyZ[MAX_BINDS] = { 0x0025, 0x1009, 0x0027 };
+unsigned int configKeyCUp[MAX_BINDS] = { 0x0148, 0x1004, VK_INVALID };
unsigned int configKeyCDown[MAX_BINDS] = { 0x0150, VK_INVALID, VK_INVALID };
unsigned int configKeyCLeft[MAX_BINDS] = { 0x014B, VK_INVALID, VK_INVALID };
unsigned int configKeyCRight[MAX_BINDS] = { 0x014D, VK_INVALID, VK_INVALID };
-unsigned int configKeyStickUp[MAX_BINDS] = { 0x0011, VK_INVALID, VK_INVALID };
-unsigned int configKeyStickDown[MAX_BINDS] = { 0x001F, VK_INVALID, VK_INVALID };
-unsigned int configKeyStickLeft[MAX_BINDS] = { 0x001E, VK_INVALID, VK_INVALID };
-unsigned int configKeyStickRight[MAX_BINDS] = { 0x0020, VK_INVALID, VK_INVALID };
+unsigned int configKeyStickUp[MAX_BINDS] = { 0x0010, 0x0011, 0x0012 };
+unsigned int configKeyStickDown[MAX_BINDS] = { 0x001B, 0x002C, 0x001A };
+unsigned int configKeyStickLeft[MAX_BINDS] = { 0x002B, 0x003A, 0x0029 };
+unsigned int configKeyStickRight[MAX_BINDS] = { 0x001E, 0x001F, VK_INVALID };
unsigned int configStickDeadzone = 16; // 16*DEADZONE_STEP=4960 (the original default deadzone)
unsigned int configRumbleStrength = 50;
#ifdef EXTERNAL_DATA
@@ -77,21 +77,21 @@ bool configPrecacheRes = true;
#endif
#ifdef BETTERCAMERA
// BetterCamera settings
-unsigned int configCameraXSens = 50;
-unsigned int configCameraYSens = 50;
-unsigned int configCameraAggr = 0;
-unsigned int configCameraPan = 0;
-unsigned int configCameraDegrade = 10; // 0 - 100%
+unsigned int configCameraXSens = 15;
+unsigned int configCameraYSens = 8;
+unsigned int configCameraAggr = 80;
+unsigned int configCameraPan = 80;
+unsigned int configCameraDegrade = 80; // 0 - 100%
bool configCameraInvertX = true;
-bool configCameraInvertY = false;
-bool configEnableCamera = false;
-bool configCameraAnalog = true;
+bool configCameraInvertY = true;
+bool configEnableCamera = true;
+bool configCameraAnalog = false;
bool configCameraMouse = false;
#endif
bool configSkipIntro = 0;
bool configHUD = true;
#ifdef DISCORDRPC
-bool configDiscordRPC = true;
+bool configDiscordRPC = false;
#endif
static const struct ConfigOption options[] = {