I'm having trouble importing the mmk.gamepad namespace.
import '@maulingmonkey/gamepad'
mmk.gamepad.isSupported()
Gives:
ReferenceError: mmk is not defined
I'm new to TypeScript so probably missing something obvious. But an example of importing the namespace in the README would be really helpful. Thanks!
I'm having trouble importing the
mmk.gamepadnamespace.Gives:
I'm new to TypeScript so probably missing something obvious. But an example of importing the namespace in the README would be really helpful. Thanks!