Keyboard/Mouse Input Detection
ModMIT

Keyboard/Mouse Input Detection

Adds a command that allows you to detect when a player presses any key and runs a function when they do.

286
Downloads
0
Followers
3 months ago
Updated
📦
3
Versions

📖About Keyboard/Mouse Input Detection

The mod adds a new command with the syntax /keydetection <add/remove/list> <press/release/sustained> run now

The command uses Windows Key Codes which you can look up the key you want here https://cherrytree.at/misc/vk.htm

Credit for programming the 1.21.10 version of the mod goes to https://github.com/FallingUser. Thanks for updating this mod because I kinda forgot about it.