Fuck yes, I figured out how to change attack button, as well as struggle. Surprised no one else did this, although maybe I wasn't looking hard enough.
Anyway, that's how it's done:
1. Go into the game folder -> /www/js/plugins. Open DystopiaABS.js with notepad or with something more convenient if you have that.
2. Find
Code:
Input.keyMapper[80] = "P";
in here (use CTRL+F).
3. Decide on the button you're gonna use instead (make sure there is no overlap with any other buttons). Google "key codes", first link should direct you to the site that will tell you a button's code just by smashing it (gently), do that.
4. Go back to the line in step 2, replace "P" with your desired button and [80] with a matching key code. For example, I replaced it with "E", its key code being 69 (nice), so the new line looks like this
Code:
Input.keyMapper[69] = "E";
5. Now look for
two instances of
in the same file (again, CTRL+F is your friend), and replace P with your chosen button in both of them.
6. Open StruggleABS.js in the same Plugins folder and do the exact same thing you did in step 5 inside of it, but now only once.
7. Save the changes, start the game and enjoy shooting with a button that makes sense.
Note that none of it will affect any button prompts or tutorials so keep that in mind.