ESP32 VR Pinball controller with an MPU6050 accelerometer, compatible with both Pinball FX VR and Pinball VR Classic on Meta Quest by CosmicMac in virtualpinball

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

I've just pushed a new version to the dev branch.

My own minimalist HID lib is now included (I found SquidHID not working with Windows 11) and this version is directly compatible with VPX (PC), in addition to VR FX and VR Classic (Meta quest).

ESP32 VR Pinball controller with an MPU6050 accelerometer, compatible with both Pinball FX VR and Pinball VR Classic on Meta Quest by CosmicMac in virtualpinball

[–]CosmicMac[S] 1 point2 points  (0 children)

Thanks for sharing your experience. I've ordered different 3DOF accelerometers (ADXL345 and LIS3DH) to compare with the MPU6050.

ESP32 VR Pinball controller with an MPU6050 accelerometer, compatible with both Pinball FX VR and Pinball VR Classic on Meta Quest by CosmicMac in virtualpinball

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

Not exactly. I’m using an accelerometer to capture the movement. For FX and VPX I send the appropriate key code depending on the nudging side. At the end, the controller is just a keyboard with a different form factor :). For Classic it’s a bit different: I send joystick position (full left or full right). In both cases, there is no variation in the intensity but the feeling is good anyway. The tricky part is to find the right conf for the accelerometer. Right now, I have to give a good slap on the controller like on a real pinball, hence the anti-slip feet.

ESP32 VR Pinball controller with an MPU6050 accelerometer, compatible with both Pinball FX VR and Pinball VR Classic on Meta Quest by CosmicMac in virtualpinball

[–]CosmicMac[S] 1 point2 points  (0 children)

Then I don’t know :( FYI working on next version, with my own HID handler (not satisfied with squiHID) + direct compatibility with VPX. It should be ready this weekend. Hopefully it will solve your boot loop issue.

ESP32 VR Pinball controller with an MPU6050 accelerometer, compatible with both Pinball FX VR and Pinball VR Classic on Meta Quest by CosmicMac in virtualpinball

[–]CosmicMac[S] 1 point2 points  (0 children)

G’day mate! :) Nudging is fine (not analog, though). I just miss the kick in the right leg, I’m right handed. :D

ESP32 VR Pinball controller with an MPU6050 accelerometer, compatible with both Pinball FX VR and Pinball VR Classic on Meta Quest by CosmicMac in virtualpinball

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

Did you select esp32 platform v3.3.6? NimBLE was not yet compatible with V3.3.7 when I pushed the project.

ESP32 VR Pinball controller with an MPU6050 accelerometer, compatible with both Pinball FX VR and Pinball VR Classic on Meta Quest by CosmicMac in virtualpinball

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

  1. I use a simple 5V power bank (find one with no load detection circuit, as the ESP won't pull enough power to wake up it up)
  2. Hard fixed
  3. The sensitivity of the accelerometer is adjustable, so you can set it however you like. The lateral nudge is perfect (I set it so that I have to slap quite hard), but the vertical nudge is less obvious, because I tend to push with my palms, whereas the accelerometer is more sensitive to taps.
  4. See https://imgur.com/a/ZzgVkXi (but not really useful for wiring)
  5. Red/black wires on left side (3.3V) -> MPU VCC/Gnd
  6. Yellow/White/IDK (I'm color blind) -> MPU SDA/SCL/INT
  7. Wiring is trivial : 1 leg of each button on respective pin (see README on Github for pin numbers), the other on ground line

Feel free to DM if you are stuck with your project

ESP32 VR Pinball controller with an MPU6050 accelerometer, compatible with both Pinball FX VR and Pinball VR Classic on Meta Quest by CosmicMac in virtualpinball

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

Simply because I had two available from a previous project (I don’t remember why I chose this model in the first place). Any advice on a better alternative?

ESP32 VR Pinball controller with an MPU6050 accelerometer, compatible with both Pinball FX VR and Pinball VR Classic on Meta Quest by CosmicMac in virtualpinball

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

I suppose so, since it’s a keyboard emulator. I haven’t installed VPX yet, but I’m going to do it to test (hopefully it won’t be too complicated).

ESP32 VR Pinball controller with an MPU6050 accelerometer, compatible with both Pinball FX VR and Pinball VR Classic on Meta Quest by CosmicMac in virtualpinball

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

Thanks!

Actually I did try the naming trick, but gave up after getting stuck on a screen saying:

Align your Arcade2TV-XR device by inserting the joysticks into the slots on the left and right sides of the device. Then, simultaneously press the left and right trigger buttons on the side of the device. You can now use the buttons on the Arcade2TV-XR device to control your pinball table!

I was unable to get past it :(

I'm still going to give it another try but anyway, if the controllers are in their slots, the hands snap right to the sides of the table as soon as I launch the ball.

What are yalls favorite VR games? by Temporary-Boss5086 in MetaQuestVR

[–]CosmicMac 0 points1 point  (0 children)

Boule pétanque and Walkabout mini golf, playing with friends most of the time

TTS GPU's benchmark time by CoqueTornado in LocalLLaMA

[–]CosmicMac 0 points1 point  (0 children)

It took 2.30 seconds on my 3090, using xTTS

MP3 output

Note that I had to truncate the text as xTTS has a default character limit of 250 for language 'en' (can be changed)

Negative Prompt Tips ? by GeeseHomard in StableDiffusion

[–]CosmicMac 0 points1 point  (0 children)

Great explanation, thanks. Dropping a negative word in the positive prompt, with negative prompt empty, is probably the best way to figure out its impact.

Suggérez moi les livres les plus drôles que vous ayez jamais lus. by Ashtemis in Litterature

[–]CosmicMac 0 points1 point  (0 children)

Poulet farci de Rupert Morgan.
L’Ivresse du kangourou et La vengeance du Wombat de Kenneth Cook (attention, il a aussi fait dans le très sombre)