Schulliya Posted August 20, 2021 Share Posted August 20, 2021 (edited) I want to make a mod that supports controllers, and I want to know how to address each xbox controller button. For example, if I want to spawn a prefab every time the player presses the button A on the controller, how should I write it? Thanks in advance. Edited August 20, 2021 by Schulliya Link to comment https://forums.kleientertainment.com/forums/topic/132826-xbox-controller-buttons-names/ Share on other sites More sharing options...
useruser3 Posted August 24, 2021 Share Posted August 24, 2021 all of the button constants the game uses are in constants.lua Link to comment https://forums.kleientertainment.com/forums/topic/132826-xbox-controller-buttons-names/#findComment-1488115 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now