KBM/Controller Switch Detector's icon

KBM/Controller Switch Detector 1.0 Scripts 4.1 Community

Submitted by user xShader1374_; MIT; 2024-04-28

Description:
This plugin can detect if input is coming from Keyboard And Mouse or Controller, and can detect what type of controller is being used (Xbox, PlayStation, Nintendo, Steam), it uses a simple autoload so you don't have to do anything else other than just using it!
Usage:
1) When you have to check if the user is currently using a gamepad or a keyboard you can just use: "KBM_ControllerSwitchDetector.keyboardOrController" (true if Keyboard is being used, false if Controller is currently being used)
2) When you have to get the controller type, use:
"KBM_ControllerSwitchDetector.controllerType"


View files Download Submit an issue Recent Edits