()
| 847 | |
| 848 | // center position for right touch pad face buttons |
| 849 | function touchGamepadButtonCenter() |
| 850 | { |
| 851 | const center = mainCanvasSize.subtract(vec2(touchGamepadSize)); |
| 852 | if (touchGamepadButtonCount === 2) |
| 853 | center.x += touchGamepadSize/2; |
| 854 | return center; |
| 855 | } |
no test coverage detected