FreeJoy-Team / FreeJoy

STM32F103 USB HID game device controller with flexible configuration
GNU General Public License v3.0
704 stars 134 forks source link

Question: more sliders #209

Closed MMahyaRA closed 1 year ago

MMahyaRA commented 1 year ago

How can I add more sliders? For example, currently, we have 8 analog inputs, but I want to have 10 or 12.

wizhippo commented 1 year ago

If I recall windows does not play well with more. For example ref https://github.com/NicoHood/HID/issues/8#issuecomment-143512589

You would have to have make a multi joystick device descriptor to get past the windows limitation and act as two joysticks, which would require both firmware and configuration app changes to support.

The inexpensive cost of another controller may not justify the effort to implement. Though it would be a nice to have.

MMahyaRA commented 1 year ago

If I recall windows does not play well with more. For example ref NicoHood/HID#8 (comment)

You would have to have make a multi joystick device descriptor to get past the windows limitation and act as two joysticks, which would require both firmware and configuration app changes to support.

The inexpensive cost of another controller may not justify the effort to implement. Though it would be a nice to have.

Can I achieve this with an stm32f103c8 and the freeJoy library? I mean, can I have multiple gamepads and remove the axis limitations?

wizhippo commented 1 year ago

No, you would need additional stm32f103c8 as it stands today without modifying the firmware and the configurator.

MMahyaRA commented 1 year ago

No, you would need additional stm32f103c8 as it stands today without modifying the firmware and the configurator.

In this case, can I connect both of them to a single USB and consider different VIDs for each one?

wizhippo commented 1 year ago

They would need to be 2 separate USB devices.

Yes I would bump the VID on one of them so your computer can distinguish them. I do this with a throttle quadrant and custom yoke I use.

MMahyaRA commented 1 year ago

They would need to be 2 separate USB devices.

Yes I would bump the VID on one of them so your computer can distinguish them. I do this with a throttle quadrant and custom yoke I use.

Another question, can I write my own program for stm32f103c8 regardless of the software provided for its configuration?

wizhippo commented 1 year ago

If you have the skill, an programmer like the st-link and access to the debug pins. no reason why you couldn't.

You can treat as an arduino and leverage the arduino ecosystems if you wanted,

MMahyaRA commented 1 year ago

thanks :)

LUCKandII commented 4 months ago

No, you would need additional stm32f103c8 as it stands today without modifying the firmware and the configurator.

Hi, if I have multiple freejoy devices(one for flight stick and one for throttle, two separate STM32F103C8T6 boards), can they both work without modifying the firmware?