-
-
Notifications
You must be signed in to change notification settings - Fork 408
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
Gamepad recognized as Mouse #14
Comments
OS - Mac OS X 10.9.4 Description: |
Please test the gamepad example of the HID Project itself. However this seems to be wrong... If you compile with the Micro outcomment line 32 and 34 here. If you compile with Leonardo do it for the equivalent leonardo file. Try again and replug the device. If its possible to remove the drivers under mac then try to do it. |
I discovered that commenting out those lines makes the Gamepad HID work with no issue. But why don't you comment them out in master branch? If that header file is specifically for the micro, you should commit the change. Anyways the sketch is working just fine. I'm switching the dpad over to buttons, otherwise its all good! |
It seems that the MAC OS cannot handle a keyboard, mouse and gamepad together. Maybe its just a small thing in the report descriptor that makes it incompatibel. Can you please test to only disable the mouse or keyboard? To see if the mouse or the keyboard causes this problem or both together. I also found a bit more information about force feedback, maybe I'll rework the gamepad anyways. But this will take some more time. I will possibly commit the change after you tested the keyboard/mouse only + gamepad thing i described above. |
I tried to enable each of these with only
In every instance, except for having |
what if you only do Gamepad.begin() and Gamepad.Write() and then an empty loop? Does this also break the mouse? Have you ever tried HoodLoader1? Its quite old, just wondering if I made a new mistake or the Arduino IDE causes this problem. |
I haven't tried HoodLoader1 you took 32u4 support out of HoodLoader2 recently so I never tried it on my Pro Micro's but with the empty loop setup you mentioned, and begin and write in setup(), I am able to have all three going at once without any mouse breakage.
I think the issue may be in the way that Gamepad.buttons or something sends a USB call, though the PAGE ID should account for each device type sending a request. |
HL1 or HL2 was never intended to be used with a 32u4. it is a bootloader. The USB-Core is THIS HID-Project and the SAME. I never stopped support, I never had support, there is no such thing like support since it is something totally different. HL2 is a bootloader that enables to use this HID Project with the 16u2. HL1 was a special 16u2 firmware though. Anyways: |
Teensy also has a mouse + keyboard + joystick report. Do you have a chance to test a teensy? Have you ever tried to change the PID in the board.txt? |
Gamepad fix merged into dev branch |
People reported me that the Gamepad axis is recognized as mouse.
I need more information to debug this.If you have the saame problem:
what OS are you using?
What board do you use? Micro/Leo or Mega/uno?
Under Windows 8 try this and tell me if it works for you:
https://github.com/NicoHood/HID/wiki/Troubleshoot-FAQ#switching-the-hid-core
The text was updated successfully, but these errors were encountered: