Discord
Login
Community
DARK THEME

Can someone help me make controller compatibility for my game?

My game, Gunventure, is intended to have controller compatibility, but I can't figure it out, and I don't have a lot of free time to do something like that, so I was wondering if anyone could help me do this. Your help would be greatly appreciated.

You Picked the right app for Controllers! Micro Studio has an input system like with the keyboard, you can use the gamepad variable. the Functions that can be calles go as follows:


gamepad.A	
gamepad.B	
gamepad.X
gamepad.Y	
gamepad.LB	
gamepad.RB
gamepad.VIEW	
gamepad.MENU	
gamepad.LS
gamepad.RS	
gamepad.DPAD_UP	
gamepad.DPAD_DOWN
gamepad.DPAD_LEFT	
gamepad.DPAD_RIGHT	
gamepad.LT
gamepad.RT	
gamepad.UP	
gamepad.DOWN
gamepad.LEFT	
gamepad.RIGHT	
gamepad.LEFT_STICK_UP
gamepad.LEFT_STICK_DOWN	
gamepad.LEFT_STICK_LEFT	
gamepad.LEFT_STICK_RIGHT
gamepad.RIGHT_STICK_UP	
gamepad.RIGHT_STICK_DOWN	
gamepad.RIGHT_STICK_LEFT
gamepad.RIGHT_STICK_RIGHT	
gamepad.LEFT_STICK_ANGLE	
gamepad.LEFT_STICK_AMOUNT
gamepad.RIGHT_STICK_ANGLE	
gamepad.RIGHT_STICK_AMOUNT	

You can Find the Full API Here: https://microstudio.dev/documentation/API-cheatsheet/

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community