processButtonFloat(buttonCode, value)
Handles buttons with floating values (like analog buttons that acts almost like an axis but still registers like a button)
Parameters
Name | Type | Description |
---|---|---|
buttonCode | number | Which buttonCode of this button |
value | object | Button value (will range somewhere between 0 and 1, but not specifically 0 or 1. |
- Source code: input/SinglePad.js (Line 406)
Please login to continue.