Thorium-Sim / thorium

Platform for starship simulator controls
https://thoriumsim.com
Apache License 2.0
157 stars 69 forks source link

Integration of peripherals with stations #1367

Open svalenelatis opened 6 years ago

svalenelatis commented 6 years ago

-Make it possible to connect outside peripherals, like throttles, joysticks, triggers, switches and dials into Thorium to control elements of some cards and station., for example, speed, direction, coolant release, etc.

alexanderson1993 commented 6 years ago

These will have to be coded in on a peripheral by peripheral basis, since some of them behave and operate differently than others. Otherwise, I'm in favor of this.

brentjanderson commented 6 years ago

Anything that can communicate over HTTP/GraphQL could probably integrate fine. This is likely more a matter of programming the electronics and not thorium itself. On Sep 25, 2018, 08:29 -0600, Alex notifications@github.com, wrote:

These will have to be coded in on a peripheral by peripheral basis, since some of them behave and operate differently than others. Otherwise, I'm in favor of this. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

alexanderson1993 commented 6 years ago

@brentjanderson The big thing is making sure that USB devices, like throttles and joysticks, behave properly. It's been done before with Thrusters.

Also, creating UIs that provide good feedback for joystick behavior will be necessary.

Emrix commented 5 years ago

@svalenelatis, so were you thinking of developing a plugin specifically for Thorium for this? Or were you thinking to be able to use the control sticks with the native drivers on the computers?

svalenelatis commented 5 years ago

@Emrix For one, I believe developing a plugin specifically for Thorium to do so is far above my skill level. I was thinking about using the peripherals with the native drivers.

alexanderson1993 commented 5 years ago

Chrome has browser-level support for game pad devices. Most USB joysticks fall under that category and should work. On Apr 26, 2019, 4:31 PM -0600, svalenelatis notifications@github.com, wrote:

@Emrix For one, I believe developing a plugin specifically for Thorium to do so is far above my skill level. I was thinking about using the peripherals with the native drivers. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.