MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / getGamepadAxis

Function getGamepadAxis

src/core/index.ts:658–660  ·  view source on GitHub ↗
(axis: number)

Source from the content-addressed store, hash-verified

656}
657
658export function getGamepadAxis(axis: number): number {
659 return bloom_get_gamepad_axis(axis);
660}
661
662export function isGamepadButtonPressed(button: number): boolean {
663 return bloom_is_gamepad_button_pressed(button) !== 0;

Callers 1

getMovementInputFunction · 0.90

Calls 1

bloom_get_gamepad_axisFunction · 0.50

Tested by

no test coverage detected