Search found 11 matches

by dstevens
Mon Mar 07, 2022 7:44 pm
Forum: Input Devices
Topic: Configuring a Composite HID Device
Replies: 21
Views: 3430

Re: Configuring a Composite HID Device

I changed my approach so I don't have an easy way to test. I'm no longer use a composite hid device, I'm sending all the data through a single raw hid device and splitting it into multiple devices in a linux driver.

That said it was working in mid February and my MiSTer was up to date so the kernel was likely newer than 20210711.
by dstevens
Mon Mar 07, 2022 5:13 pm
Forum: Input Devices
Topic: Configuring a Composite HID Device
Replies: 21
Views: 3430

Re: Configuring a Composite HID Device

Did you found a fix for it? Mister stopped working with my "single interface with composite HID" adapter too. It works with mister and kernel up to 20210711. Later versions have this problem of only supporting the first device. Check to see if no_merge_vid and no_merge_pid in MiSTer.ini is set to your composite device's vid/pid. That is ...
by dstevens
Thu Feb 24, 2022 8:54 pm
Forum: Input Devices
Topic: Configuring a Composite HID Device
Replies: 21
Views: 3430

Re: Configuring a Composite HID Device

The spinners and trackball are definitely the complicating factors. If those aren't a concern mapping to a keyboard seems like a great approach. I'm probably trying to talk myself in doing it, but I think using a custom driver gives you the greatest flexibility. You get the latency benefits of a single HID update then you can split it to any contro...
by dstevens
Thu Feb 24, 2022 1:29 pm
Forum: Input Devices
Topic: Configuring a Composite HID Device
Replies: 21
Views: 3430

Re: Configuring a Composite HID Device

I ended up purchasing a Teensy 3.5 board from Micro Center as well to replace the Xinmo board and was going to wire the trackball to that, if I could figure out how to remove the embedded controller from the stock trackball. Theoretically, I could get all needed controls on the same HID. After more testing I'm not sure composite HID devices is the...
by dstevens
Sun Feb 20, 2022 4:01 am
Forum: Input Devices
Topic: Configuring a Composite HID Device
Replies: 21
Views: 3430

Re: Configuring a Composite HID Device

I replaced one of the white buttons on each side of the trackball for the spinners. It's not ideal, but about the best I could do with the existing layout.
by dstevens
Sat Feb 19, 2022 6:26 am
Forum: Input Devices
Topic: Configuring a Composite HID Device
Replies: 21
Views: 3430

Re: Configuring a Composite HID Device

Let me know if you have any luck with the trackball as a separate HID. My 2-player arcade stick w/ trackball unit has just the trackball as its own separate HID/USB device from the stick and all the buttons. Because of this, the trackball is useless because it has no buttons associated with it. MiSTer does not let you combine controls from multipl...
by dstevens
Fri Feb 18, 2022 4:04 am
Forum: Input Devices
Topic: Configuring a Composite HID Device
Replies: 21
Views: 3430

Re: Configuring a Composite HID Device

Mentioning the X-Arcade dual stick was the hint needed. I was able to search how people got it working.

By setting no_merge_vid and no_merge_pid in MiSTer.ini to your composite device's vid/pid it will prevent the merging of input devices. So the joysticks are working now.

Now for the trackball...
by dstevens
Thu Feb 17, 2022 10:04 pm
Forum: Input Devices
Topic: Configuring a Composite HID Device
Replies: 21
Views: 3430

Re: Configuring a Composite HID Device

I made some progress. The joysticks / buttons / spinners all work. Mouse still doesn't work. Apparently in Linux composite HID devices need the HID_QUIRK_MULTI_INPUT attribute set in drivers/hid/usbhid/hid-quirks.c to show up as multiple devices. I didn't want to recompile the kernel so for now I'm using the ID of a device already in the list. EDIT...
by dstevens
Tue Feb 15, 2022 9:23 pm
Forum: Input Devices
Topic: Configuring a Composite HID Device
Replies: 21
Views: 3430

Configuring a Composite HID Device

I'm working on a custom USB adapter for an arcade fight stick based on a STM32F411. The fight stick has 2 joysticks, 14 buttons, 2 spinners, and a trackball. I've split the controls into three composite HID devices. 2 joysticks (with 7 buttons and 1 spinner each) and one mouse device for the trackball. On Windows everything works great, but I can't...
by dstevens
Wed Aug 26, 2020 2:26 pm
Forum: Other Console Cores
Topic: Atari 7800 / 2600
Replies: 515
Views: 638755

Re: Atari 2600

Chris23235 wrote: Wed Aug 26, 2020 9:21 am
rcade wrote: Wed Aug 26, 2020 3:36 am
Chris23235 wrote: Tue Aug 25, 2020 5:45 am

Pitfall II was broken after the update a few days ago and it was fixed with yesterdays update.
Doesn't seem to be fixed per the above report (sprite and sound issues).
You mean dstevens post? This was about Pitfall and not Pitfall II.
My post was about Pitfall II. It says “Pitfall II” and the pictures are of Pitfall II :)
by dstevens
Tue Aug 25, 2020 1:48 am
Forum: Other Console Cores
Topic: Atari 7800 / 2600
Replies: 515
Views: 638755

Re: Atari 2600

I'm seeing minor graphics corruption with the latest release (Atari2600_20200824.rbf) on Pitfall II. The ROM has the correct md5 checksum and has a p2 extension. The issue seems isolated to the top and bottom of the sprites. I also verified everything works fine on a real Atari 2600. Attached are some screen shots showing some of the issues. Line u...