Create
Zezombye

Keyboard / Controller detection

A proof of concept to detect if a player is using a keyboard or a controller.

You are considered as using a keyboard if any of the buttons that can be detected with the workshop are on the keyboard (if all buttons are either unbounded or on your mouse, you will be detected as using a controller).

It should work with any keys on any language - feel free to test!

Please report to me any inaccurate detection.

https://github.com/Zezombye/overpy/blob/master/examples/inputhud.opy

Players | 1 - 12
Categories: Tools
Heroes: D.va, Orisa, Reinhardt, Roadhog, Sigma, and 27 more...
Created at:
Last updated:

Snippet

Loading...

Users Also Like

Similar Codes

Join the Workshop.codes Discord