Jump to content

Recommended Posts

I would suggest looking in this file:

C:\Program Files (x86)\Steam\steamapps\common\dont_starve\data\scripts\input.lua

That file contains the functions for all of the player's actions.  It also includes the method GetInputDevices() which I do believe is exactly what you're looking for.

Thanks, but GetInputDevices() simply lists the devices attached to the machine. I was looking for a potential way to link a button press to an input device. For example, the variable CONTROL_MOVE_UP seems to be assigned to two different buttons, one from the keyboard and one from the gamepad, is there a way to determine which input device activated the control handle?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...