Comments (4)
I'd be perfectly fine with that.
The more possible use cases the better!
edit- I have no experience with this issue, but I imagine I have a few packages that might cause the same issue.
I am interested in learning how to resolve your issue in general.
from gameinput-ts.
So I'm tracking that I'm not having an issue with @repcomm/exponent-ts and went to check what the difference was, and it seems I never exported any interface
or type
from that package, which seems to be what is keeping it working in snowpack on my end, which I can't say for gameinput.
I have removed the type/interface exports from mod.ts and will test it in a few minutes in snowpack. If all goes well I will push and update npm as well.
from gameinput-ts.
Okay, I have tested in "snowpack": "^3.8.3"
and it's running for me now.
If you are using this version of snowpack, can you check if your issue is resolved for me?
Latest NPM module version with the fix is "@repcomm/gameinput-ts": "^1.10.4"
There are also some API changes, so be sure to read the ReadMe.md
A key different would be createButton and createAxis have been made private, you should use getOrCreateButton or getOrCreateAxis instead now.
from gameinput-ts.
Works great! Thanks for doing this 👍
from gameinput-ts.
Related Issues (9)
- Axis should be mappable to any set of inputs
- Configurable dead zones for gamepad interface HOT 1
- Next update HOT 2
- Sensitivity config in axis influence HOT 1
- getGamepad can return undefined, no checks in getButton or getAxis
- Possible name change
- gpAxesScale replace with gpAxesTransform callback
- Causes primary button to be fired when it shouldn't
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gameinput-ts.