Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

KBM/Controller Switch Detector

An asset by xShader1374_
The page banner background of a mountain and forest

Quick Information

No ratings yet
KBM/Controller Switch Detector icon image
xShader1374_
KBM/Controller Switch Detector

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"

Supported Engine Version
4.1
Version String
1.0
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL
Download ZIP

KBM-ControllerSwitchDetector

README 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"

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"

Reviews

0 total reviews
No ratings yet

Your Rating

How do you rate this asset?
Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

No ratings yet
KBM/Controller Switch Detector icon image
xShader1374_
KBM/Controller Switch Detector

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"

Supported Engine Version
4.1
Version String
1.0
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL
Download ZIP

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers