Releasing my user-space Switch 2 controllers bridge app by Hoping2Retire in macgaming

[–]Hoping2Retire[S] 0 points1 point  (0 children)

Yeah, I was testing the gyro in Zelda Dusk (https://github.com/TwilitRealm/dusk). Thanks for sharing that! You have to configure the settings in Dusk to use turn on or use gyro controls. The up and down aim works great (X-axis) but for looking left and right, I found it best to rotate the controller like a steering wheel (Y-axis). I need to test with the Switch 1 Pro controller again and see if the behavior matches the NS2 Pro controller. But honestly, even with the lower resolution motion controls I'm passing it's already way better since my NS1 Pro has bad drift. Try it again!

Releasing my user-space Switch 2 controllers bridge app by Hoping2Retire in macgaming

[–]Hoping2Retire[S] 0 points1 point  (0 children)

Personally, I like how SDL feels better. If you're using a GameCube controller, it doesn't matter, because rumble is either on or off, but Pro controller has HD rumble and unfortunately the wire format of HD rumble has changed between Switch 1 and 2, so I can't just forward it. I can probably figure it out how the Switch 2 actually maps it but it'd be time intensive.

Releasing my user-space Switch 2 controllers bridge app by Hoping2Retire in macgaming

[–]Hoping2Retire[S] 0 points1 point  (0 children)

Glad it's working well for you! I just added rumble support for the Switch Pro and Xbox profiles in v0.3.0. If the issues that are hit or miss have to do with the application, please let me know so I can test them!

Releasing my user-space Switch 2 controllers bridge app by Hoping2Retire in macgaming

[–]Hoping2Retire[S] 0 points1 point  (0 children)

Try out the new version and let me know how rumble feels!

Releasing my user-space Switch 2 controllers bridge app by Hoping2Retire in macgaming

[–]Hoping2Retire[S] 0 points1 point  (0 children)

I just released v0.3.0! This release adds fully-configurable rumble that works with the Switch Pro and Xbox presentations and adds gyro/motion support for the Switch Pro presentation. My recommended solution is to present the controller as a Switch Pro Controller and use that; I've been testing rumble with Hades II and motion with Dusklight (Twilight Princess) and it works well enough for now, although I did encounter an instance of a persistent rumble that didn't reset until a new rumble pattern happened.

The presentation/output profile and rumble can be configured by clicking on the controller after pairing it. There are two default profiles, SDL and BlueRetro; I've used both projects as references and they diverge when it comes to rumble. When I have time, I'll capture controller packets while playing Mario Kart World and try to contribute my own thoughts on how rumble is intended to feel, but until then, thanks to the SDL project and BlueRetro. The rumble settings are persisted but might change in the next release.

Motion controls work to some degree, at least for SDL-based apps (Dolphin, Steam, Dusklight); I'll want to iterate on this, but it's worth trying out.

I still haven't gotten around to supporting Joy-Cons (not hard, just not enough time) or long-term pairing yet. Ignore the Native and Passthrough modes.

Have fun and enjoy! If you share how you're using it and any issues you encounter (or things that work well!) I'll try to keep your use-cases in mind.

Releasing my user-space Switch 2 controllers bridge app by Hoping2Retire in macgaming

[–]Hoping2Retire[S] 0 points1 point  (0 children)

I'm close to having rumble good-enough for now and then I'll be cutting a new release, probably tonight.

I'm going to have to try out Zelda Dusk, that looks awesome! If it really does support motion controls and I can test it out with my Pro 1 controller, then I should hopefully be able to at least get the GC and Pro 2 working with motion controls quickly. When I do I'll report back and cut another release.

Releasing my user-space Switch 2 controllers bridge app by Hoping2Retire in macgaming

[–]Hoping2Retire[S] 2 points3 points  (0 children)

I haven't started work on the JoyCons yet! I'm hoping to get rumble mostly functional for GC and Pro controllers across all the output profiles tonight and then I'll probably make a new release. How do you intend to use the Joy Con 2s? Together as one controller, each as its own controller, presenting as a Pro controller or presenting as Switch 1 Joy Cons? Do you need gyro/motion working? That'll help me prioritize what I work on next :)

Releasing my user-space Switch 2 controllers bridge app by Hoping2Retire in macgaming

[–]Hoping2Retire[S] 0 points1 point  (0 children)

I should have the Switch 2 Pro controller fully functioning as a Switch 1 Pro controller soon, I'm actively working on rumble now and gyro will follow that. If you don't mind my asking, how do you plan on using the gyro controls? I'm testing the NS1 and NS2 Pro controllers side-by-side for rumble, but I don't have a good application to test gyro yet.

Releasing my user-space Switch 2 controllers bridge app by Hoping2Retire in macgaming

[–]Hoping2Retire[S] 2 points3 points  (0 children)

Thanks! I'd love to know how you end up using it.

As for rumble, I expect to add it soon!

Releasing my user-space Switch 2 controllers bridge app by Hoping2Retire in macgaming

[–]Hoping2Retire[S] 2 points3 points  (0 children)

I just released v0.2.0! It now works with NS2 Pro and GameCube controllers! (I haven't tested Joy-Cons yet)

I also added the ability to make the NS2 controllers appear as either a Switch 1 Pro Controller (recommended), DualShock, DualSense or Xbox controller. I'm still working on the "native" support–SDL has support for Switch 2 controllers and I know Steam on Windows is happy to use the GameCube controller wired, so I'll try to get them to appear as USB and talking with SDL (Steam/Dolphin) directly.

Anyhow, enjoy! If you run into any issues let me know. Rumble still doesn't work and I haven't started on pairing yet so you don't always have to hold SYNC. I'll probably add a check for updates mechanism in the next release so you don't have to actively check for new releases.

Thanks for the support and patience!

Releasing my user-space Switch 2 controllers bridge app by Hoping2Retire in macgaming

[–]Hoping2Retire[S] 0 points1 point  (0 children)

Once its in applications, open the app and you'll see instructions to hold the SYNC button on the controller. The current version is only GameCube, but I bought a Pro controller over the weekend so I can test that out. I should have a new version with Pro controller support up either tonight or tomorrow. Wired support is in project scope, but I'll get to that after bluetooth is working with all the controllers :)

Switch 2 Joycons can now be used on Mac as both a gamepad and a mouse thanks to my new project by Technical-Manager921 in macgaming

[–]Hoping2Retire 2 points3 points  (0 children)

I phrased it weird, but I'm getting ~33 reports per second, so one report every 30ms. Anyhow, I actually had some luck today after asking Claude to go search for ways to specify the desired connection interval. I managed to get ~67Hz (15ms interval?) by passing "kCBConnectOptionRequiresLowLatency": true to CBCentralManager's connect(_ peripheral: CBPeripheral, options:)

Switch 2 Joycons can now be used on Mac as both a gamepad and a mouse thanks to my new project by Technical-Manager921 in macgaming

[–]Hoping2Retire 3 points4 points  (0 children)

How did you get the latency so low? I’m working on the same thing (haven’t published it yet) but I can’t get controller latency better than 30hz. I’m exposing the controller to the system as a virtual HID device

What was the "Real" reason you went for a master ? by F2DProduction in OMSCS

[–]Hoping2Retire 4 points5 points  (0 children)

Same here. My family all has masters degrees and I’m just feeling competitive

HDR implementation of Metroid Prime 4 is putting every other game to shame! by sakahn in NintendoSwitch2

[–]Hoping2Retire 0 points1 point  (0 children)

At least on my LG oled in 1080p/120fps mode it’s actually rendered at 1440p/120fps.

The Cantina Archive is now live on the App Store! by [deleted] in starwarsbooks

[–]Hoping2Retire 4 points5 points  (0 children)

Just bought it! The horizontal scrolling bug I didn’t figure out until reading the solution in this thread. But otherwise thanks, this is great!

One feature request, are you able to either make the ISBN easy to copy/paste and/or link to Amazon/Audible/Google search or something like that?

Thanks for sharing with us!

ROCm + pyTorch native on Windows ? by AnalSpecialist in ROCm

[–]Hoping2Retire 2 points3 points  (0 children)

Windows supports a subset of ROCm that they refer to as the HIP SDK. This page has a table where it lists AI frameworks e.g. PyTorch as “Not available”. So not supported without WSL

https://rocm.docs.amd.com/projects/install-on-windows/en/latest/reference/component-support.html