Hello Devs! I Am Making A Game And I Can’t Seem To Figure Out How To Tell If A Player Is On XBOX or Playstation! I Want To Change An Image To Show The Control For An Ability (/)
I Tried Looking For About Half An Hour And Could Not Find Anything, So I Made This Post.
The Ability (KEYBOARD BUTTON) :
The Buttons I Want To Change It To When The Player Is On Specifically XBOX Or Playstation :
;
;
Help Would Be Gratefully Appreciated!
1 Like
UserInputService can be used for basically everything relating to inputs.
You are gonna wanna look towards userinputservice.GamepadEnabled. Theres also GetStringForKeyCode which returns a string specific for Xbox and Playstation inputs. Im not too well versed in this area but if those dont work theres the option for waiting for a player to make any input then seeing if it relates to an xbox or playstation input through a hashmap.
1 Like