-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add example for device that supports InputEventJoypadButton's pressure property #8549
Comments
It's not novel. Most of the buttons on the Playstation 2 & 3's controller are pressure-sensitive, but it was relegated back to only the back triggers because the feature was fairly underutilised. Unfortunately, I do not have those controllers to test them, but this is is what they are referring to. |
@Mickeon Oh wow! I even had a ps3 and can't remember any game utilizing it. I still have it at my parent's place. If it still works I am gonna try it out and make a PR (so even younger generations know what this refers to 😅). Thanks for giving an example. |
This was much harder to check then I expected. On Mac:
On Windows:
PS: I found an interesting video about "The Short History of Pressure Sensitive Buttons" with a great example about Metal Gear Solid utilizing it. |
Even if I couldn't get it to work, we could still update the docs with something like:
|
I asked on RocketChat about this and it's pretty amusing to me. In a nutshell, this property has existed ever since Godot became open source. But as it turns out, it was never implemented at all, at least on Windows. Joypad drivers do not use it. It should not exist at all. It probably went completely unnoticed for how obscure this feature is. Requesting this feature nowadays would probably be a good proposal. But the description absolutely needs to change now. |
@Mickeon It was an interesting rabbit hole though. Now I am actually kinda sad, that that feature is gone from the gaming world basically forever (not because of Godot but because of controllers not having it anymore). Thanks for asking around ❤️ |
Your Godot version:
Not relevant
Context
In my game I want to support as many controllers as possible so I want to know what I have to look out for / test with.
Issue description:
The docs for InputEventJoypadButton > pressure states
Represents the pressure the user puts on the button with their finger, if the controller supports it.
I have never heard of a button that also detects pressure (which is not a trigger). A note on which device / types of devices this exists would be helpful.
Maybe this is supported by less-common devices like fancy midi-keyboards / drawing tablets? 🤔
PR
I am happy to phrase the sentence and open a PR once I know what devices/buttons this refers to.
URL to the documentation page (if already existing):
https://docs.godotengine.org/en/stable/classes/class_inputeventjoypadbutton.html#class-inputeventjoypadbutton-property-pressure
The text was updated successfully, but these errors were encountered: