KBM/Controller Switch Detector

by xShader1374_

5

KBM-ControllerSwitchDetector

KBM-ControllerSwitchDetector-Logo

Godot 4.1+ Addon which detects if player is using controller or the Mouse And Keyboard input method.

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"

Version

1.0

Engine

4.1

Category

Scripts

Download

Version1.0
Download

Support

If you need help or have questions about this plugin, please contact the author.

Contact Author