# Solution: Gamepad remapping issue

**URL:** <https://forum.norestforthewicked.com/t/solution-gamepad-remapping-issue/27070>\
**Category:** Wicked Tips & Tricks\
**Tags:** guide, settings, controller\
**Created:** [September 10, 2026, 7:31pm UTC](https://forum.norestforthewicked.com/t/solution-gamepad-remapping-issue/27070 "2026-09-10T19:31:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Red](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.norestforthewicked.com/red/32/17482_2.png) [@Red](https://forum.norestforthewicked.com/u/Red)\
**Post date:** [September 10, 2026, 7:31pm UTC](https://forum.norestforthewicked.com/t/solution-gamepad-remapping-issue/27070/1 "2026-09-10T19:31:50Z")

</div>

**Silas, hi!**  
_Please combine this into the relevant bug report branch._  
\_\_\_\_\_\_\_\_\_\_

This case:  
[remapping issue](https://forum.norestforthewicked.com/t/combined-controller-remapping-combinations-buttons-not-working/20351/17)  
\_\_\_\_\_\_\_\_\_\_

Sent an angry and grievance-filled letter to the devs’ email.  
Well, now we can only wait.  
\_\_\_\_\_\_\_\_\_\_

**For now, here is the solution I suggest.**

**Just to be safe:**  
Back up the file and move it out of the game folder.  
If an update drops, the game might overwrite it.  
Also, if you mess up the file, figuring out where to get the default version will be your problem — if you delete something by mistake, the game might start crashing.

Go here.

**%USERPROFILE%\AppData\LocalLow\Moon Studios\NoRestForTheWicked\DataStore**

**Make a backup copy of the file** and open it in a text editor.

**AccountSettings\_LOCAL.dat**

I suggest using VSCode — it’s a free program, etc., download it from the official website.

**Tip:**  
Ctrl + F  
Open the text search bar.

Look at the end of the file, you will see something like this there.

**Note:**  
For this chunk of code to appear, you must already have remapped buttons in the control settings.  
If you have the default settings, this text won’t be there at all. The game probably stores default settings somewhere else and references them when needed.

 ![code](https://canada1.discourse-cdn.com/flex003/uploads/wickedforum/original/3X/c/6/c66bb47bc321839c4aafbaa8aa68b4ac6c0baafe.jpeg)

In other words, if you remap a specific action — like attack, for instance — you will get the following line:

{“RevisedActionID”:5,“actionName”:“”,“gamepadItem”:{“button”:15,“axis”:4,“trigger”:2},

**Action**  
“RevisedActionID”:5

**Assigned key**  
“button”:15

This means that by just changing the numeric key code, you are manually remapping actions to different buttons.  
The game will read this and apply your new control configuration.  
\_\_\_\_\_\_\_\_\_\_\_

**To sum up:**

- Launch the game and configure your controls as close to your desired setup as possible.

- You will likely end up with unassigned or conflicting actions — just bind any keys to them, as long as the settings save. The game allows certain keys to be bound to multiple actions; they will conflict and won’t work properly in-game, but the game will still save this configuration.

- Close the game.  
The game overwrites the settings file in real-time but doesn’t hot-reload changes on the fly. In other words, data syncing only works one way.

- Go to the file and change the numeric key code to the one you need.  
Save the file.

- Launch the game, and you will see your desired configuration.

Note that you cannot completely unbind a key from an action — doing so will crash the game.  
\_\_\_\_\_\_\_\_\_\_

**Below are the action codes and key numbers.**

---

<div class="post-metadata">

**Author:** ![Red](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.norestforthewicked.com/red/32/17482_2.png) [@Red](https://forum.norestforthewicked.com/u/Red)\
**Post date:** [September 10, 2026, 7:33pm UTC](https://forum.norestforthewicked.com/t/solution-gamepad-remapping-issue/27070/2 "2026-09-10T19:33:49Z")

</div>

“RevisedActionID”:6 = interact

“RevisedActionID”:2 = Offhand Use

“RevisedActionID”:3 = Attack

“RevisedActionID”:4 = Dodge

“RevisedActionID”:5 = Run

“RevisedActionID”:12 = Toggle Runes

“RevisedActionID”:13 = Sneak/Drop Down

“RevisedActionID”:14 = Target Lock

“RevisedActionID”:18 = Parry

“RevisedActionID”:20 = Offhand item

“RevisedActionID”:21 = Mainhand item

“RevisedActionID”:22 = Rune 1

“RevisedActionID”:23 = Rune 2

“RevisedActionID”:24 = Rune 3

“RevisedActionID”:25 = Rune 4

“RevisedActionID”:161 = Food

“RevisedActionID”:162 = Quick Item

“RevisedActionID”:258 = Utility Runes  
\_\_\_\_\_\_\_\_\_\_

“RevisedActionID”:237 = Toggle Walk/Run

---

<div class="post-metadata">

**Author:** ![Red](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.norestforthewicked.com/red/32/17482_2.png) [@Red](https://forum.norestforthewicked.com/u/Red)\
**Post date:** [September 10, 2026, 7:36pm UTC](https://forum.norestforthewicked.com/t/solution-gamepad-remapping-issue/27070/3 "2026-09-10T19:36:17Z")

</div>

**Key Codes:**

A = button: 10  
B = button: 11  
X = button: 12  
Y = button: 13

L v = 6  
R v = 7

R1 (RB) = button: 9  
R2 (RT) = button: 15  
L1 (LB) = button: 8  
L2 (LT) = button: 14

D-pad Up = button: 0  
D-pad Down = button: 1  
D-pad Left = button: 2  
D-pad Right = button: 3  
\_\_\_\_\_\_\_\_\_\_

**In the settings, I have the Xbox controller layout enabled.**

---

<div class="post-metadata">

**Author:** ![Red](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.norestforthewicked.com/red/32/17482_2.png) [@Red](https://forum.norestforthewicked.com/u/Red)\
**Post date:** [September 10, 2026, 7:49pm UTC](https://forum.norestforthewicked.com/t/solution-gamepad-remapping-issue/27070/4 "2026-09-10T19:49:17Z")

</div>

And, of course, think carefully about which keys you bind to which actions so that the game remains actually usable and playable.

You could technically bind the “Y” button to every single action, and the game will accept it — you just won’t be able to play normally.  
\_\_\_\_\_\_\_\_\_\_\_

If you want to revert to the **default layout** , just do it the standard way and apply the changes.  
The game will immediately erase this wall of code and load the default configuration.  
\_\_\_\_\_\_\_\_\_\_\_

Oh, and by the way:  
the author accepts absolutely no liability for anything.  
If you configure the buttons your way, it’s not my fault 😁  
Any resemblance to actual persons is purely coincidental 😀

---

<div class="post-metadata">

**Author:** ![yyg](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.norestforthewicked.com/yyg/32/17548_2.png) [@yyg](https://forum.norestforthewicked.com/u/yyg)\
**Post date:** [September 10, 2026, 8:13pm UTC](https://forum.norestforthewicked.com/t/solution-gamepad-remapping-issue/27070/5 "2026-09-10T20:13:27Z")

</div>

> **[hut1\_12v2.pdf](https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf)**
>
> 949.63 KB

this might be useful as well 😃

> **[Programmable Button | QMK Firmware](https://docs.qmk.fm/features/programmable_button)**
>
> Documentation for QMK Firmware

if the input device is QMK accecable here are alternative key codes

---

<div class="post-metadata">

**Author:** ![Red](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.norestforthewicked.com/red/32/17482_2.png) [@Red](https://forum.norestforthewicked.com/u/Red)\
**Post date:** [September 11, 2026, 12:05am UTC](https://forum.norestforthewicked.com/t/solution-gamepad-remapping-issue/27070/6 "2026-09-11T00:05:30Z")

</div>

> Note that you cannot completely unbind a key from an action — doing so will crash the game.

**It’s POSSIBLE, dudes, it’s possible!**

button: 20

 ![button](https://canada1.discourse-cdn.com/flex003/uploads/wickedforum/original/3X/f/4/f4b7235aee032e0ee0ddc22fb91d78de080fe8da.jpeg)

---

<div class="post-metadata">

**Author:** ![Red](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.norestforthewicked.com/red/32/17482_2.png) [@Red](https://forum.norestforthewicked.com/u/Red)\
**Post date:** [September 11, 2026, 12:13am UTC](https://forum.norestforthewicked.com/t/solution-gamepad-remapping-issue/27070/7 "2026-09-11T00:13:12Z")

</div>

_Man, I’ve tried everything:_ 🤣

-1 = Crush  
100 = Crush  
255 (“None” in Byte) = Crush  
65535 (“None” in ushort) = Crush

_Equates to button 0:_  
“”  
" "  
“!”  
false  
null

I was certain that the input variable had to be of type integer, given that C# is a strongly typed language 😀
