-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with HORIPAD mini4 #274
Comments
The issue is either in the upstream GLFW C library (which use a different issue tracker, https://github.com/glfw/glfw/issues), or in this Go binding for it. In order to fix it, we need to identify where the problem is. I doubt many people have the same hardware, so it's likely you're the only person who can reproduce it. Can you try using the latest GLFW C library release, or master version, and see if it happens with it too? If so, you should report the issue in the https://github.com/glfw/glfw/issues issue tracker. Otherwise, post the C and Go programs so we can try to find out what might be different. |
My reading of this is that we're coming through the default select case here: Lines 111 to 124 in e5ec435
If so that seems a bit surprising as it would imply that two errors have been fed into the pipe (and we're seeing the second of them?).
Line 117 in e5ec435
|
Hello, I'm getting the same error with Ebiten and an 8BitDo SF30 Pro gamepad on Linux (Solus OS).
Worth noting is that the controller identifies as an Xbox One Wireless Controller in Antimicro and in the terminal output. This issue does not happen with an iPega 9118 (golden d-pad Xbox-style) mobile controller connected to my computer over Bluetooth, or to a PXN 9607S (Switch Pro Controller, also works wired through USB). The iPega is reported as just a "PG-9118" through Antimicro, and the PXN is reported as being an "X360 Controller". Here's a minimal reproduction main.go using Ebiten: package main
import (
"github.com/hajimehoshi/ebiten"
)
type Game struct{}
func (game *Game) Update(screen *ebiten.Image) error {
return nil
}
func (game *Game) Layout(w, h int) (int, int) {
return 320, 240
}
func main() {
ebiten.RunGame(&Game{})
} The problem happens when "plugging in" (connecting) my 8BitDo controller, regardless of when (while the application is running, or beforehand). The problem persists until I power down the controller and my system stops recognizing it; after that, the program can run normally. I'm wondering if it's something like the controllers have one extra button that isn't there in the default mapping or something...? Any ideas? EDIT: More interesting information - the crash DOESN'T happen with the 8BitDo controller if I connect it via USB; then it identifies as an "X360 Controller". It only happens if connecting wirelessly. |
seems related to #292 |
When I call
glfw.Init
with a Hori PS4 Mini I get this error.The text was updated successfully, but these errors were encountered: