InputEventKey Grabber

An asset by gilzoide
The page banner background of a mountain and forest
InputEventKey Grabber thumbnail image
InputEventKey Grabber thumbnail image
InputEventKey Grabber hero image

Quick Information

0 ratings
InputEventKey Grabber icon image
gilzoide
InputEventKey Grabber

A button that grabs key events and populate an InputEventKey instance.Comes with a property editor for easy setup of InputEventKey Resources in editor, great for creating ShortCuts.

Supported Engine Version
3.2
Version String
0.2.1
License Version
CC0
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

InputEventKey Grabber

A button that grabs key events and populate an InputEventKey instance for Godot.

Comes with a property editor for easy setup of InputEventKey Resources in editor, great for creating ShortCut resources.

Check out the scene at the addons/input_event_key_grabber/samples folder for a complete usage example.

README

README

Installing

Copy the addons/input_event_key_grabber folder into your project or import it from Godot Asset Library.

Alternatively, if you don't need the editor plugin, just copy the addons/input_event_key_grabber/input_event_key_grabber_button.gd file into your project.

API

InputEventKeyGrabberButton (addons/input_event_key_grabber/input_event_key_grabber_button.gd)

signal event_updated(event: InputEventKey)

  • Emitted when a new key is set either by user input or when setting event property.

export(String) var press_key_text = "Press key combo..."

  • Text shown when key grabber is focused, hinting it is grabbing keys.

export(bool) var auto_release_focus = true

  • If true, key grabber gives up focus when a key that is not a modifier (control, alt, shift, meta, command) is pressed. If its focus_next points to another Control, focus will be passed on to it, otherwise it just releases focus.

var event: InputEventKey

  • InputEventKey property, changes every time user inputs a new key combo. Setting it manually updates the shown text.

A button that grabs key events and populate an InputEventKey instance.

Comes with a property editor for easy setup of InputEventKey Resources in editor, great for creating ShortCuts.

Reviews

0 ratings

Your Rating

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

0 ratings
InputEventKey Grabber icon image
gilzoide
InputEventKey Grabber

A button that grabs key events and populate an InputEventKey instance.Comes with a property editor for easy setup of InputEventKey Resources in editor, great for creating ShortCuts.

Supported Engine Version
3.2
Version String
0.2.1
License Version
CC0
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers