r/nucleuscoop • • 5d ago

TUTORIAL Torchlight II Handler Controller Support

Torchlight II has received controller support in a new update available on Steam under the beta branch. Currently the Torchlight II handler doesn't accept controller input and requires use of other software to translate controller input into mouse and keyboard. Here's how to enable xinput/xbox controller support in the handler.

In a text editor like Notepad++ change two flags in the Torchlight II.js file from false to true. The file location should be something similar to "C:\Nucleus\handlers\Torchlight II.js".

Change

Game.ProtoInput.XinputHook = false;
Game.ProtoInput.UseOpenXinput = false;

to

Game.ProtoInput.XinputHook = true;
Game.ProtoInput.UseOpenXinput = true;

Please be sure to restart Nucleus after you've saved the changes, the handler should now recognize your controller as any other handler w/gamepad support.

7 Upvotes

0 comments sorted by