jakibaki / hid-mitm

Sysmodule mitming the Horizon hid (human interface device) services to allow using unsupported gamepads on the nintendo switch.
GNU General Public License v2.0
103 stars 23 forks source link

TCP port for queueing up batch input for more accuracy instead of speed #33

Closed s5bug closed 5 years ago

s5bug commented 5 years ago

If not fit for hid-mitm, it could be forked into something named similar to TAS-NX maybe it's more appropriate for the project named TAS-NX that already is similar to this. I've been trying to write a program that does precise inputs frame-by-frame using hid-mitm and UDP is just not on my side.

s5bug commented 5 years ago

For example, client opens a TCP socket, sends the data in the same way it's being sent now with packing into a struct, but once the socket is closed those inputs all execute. The better option is to have some sort of command structure where a single socket can execute multiple batch commands, but I'm not fluent enough with this codebase to suggest something.

s5bug commented 5 years ago

Closing as I am going to be helping with the development for nx-TAS.

I've already gotten theoretically-infinite switch-side scripts working.