phoboslab / wipeout-rewrite

2.59k stars 198 forks source link

Suggestion - Better default keyboard controls #120

Open jrugia opened 4 months ago

jrugia commented 4 months ago

I find the default controls to be a bit too uncomfortable. I suggest they're changed as below:

W - Accelerate A - Left Brake D - Right Brake C - Change View Space Bar - Fire

Feels more natural for me.

If anyone's willing to try it out. You can edit the source at "/src/wipeout/game.c" - Lines 410-418

[A_UP] = {INPUT_KEY_UP, INPUT_GAMEPAD_DPAD_UP}, [A_DOWN] = {INPUT_KEY_DOWN, INPUT_GAMEPAD_DPAD_DOWN}, [A_LEFT] = {INPUT_KEY_LEFT, INPUT_GAMEPAD_DPAD_LEFT}, [A_RIGHT] = {INPUT_KEY_RIGHT, INPUT_GAMEPAD_DPAD_RIGHT}, [A_BRAKE_LEFT] = {INPUT_KEY_A, INPUT_GAMEPAD_L_SHOULDER}, [A_BRAKE_RIGHT] = {INPUT_KEY_D, INPUT_GAMEPAD_R_SHOULDER}, [A_THRUST] = {INPUT_KEY_W, INPUT_GAMEPAD_A}, [A_FIRE] = {INPUT_KEY_SPACE, INPUT_GAMEPAD_X}, [A_CHANGE_VIEW] = {INPUT_KEY_C, INPUT_GAMEPAD_Y},