Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news


  

Author Topic: Turbo Twist 2 & RetroPie  (Read 4114 times)

0 Members and 1 Guest are viewing this topic.

Shanefrom302

  • Trade Count: (-1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 32
Turbo Twist 2 & RetroPie
« on: May 10, 2016, 12:46:19 am »
I cannot figure out how to get My Pi1 model b+ to recognize the usb spinner! Is anyone using a turbo twist 2 spinner with a raspberry pi that can help me get it working? Thanks

nurmweb

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • I want to build my own arcade controls!
Re: Turbo Twist 2 & RetroPie
« Reply #1 on: June 13, 2016, 05:21:41 pm »
I'm having pretty much the same problem. Raspberry Pi 2 model B (running Retropie 3.6) and a Turbo Twist 2 spinner from GroovyGameGear. I have been messing around in the command line with "lsusb" to show what's hooked up to USB and it shows the device's ID#, but not the name and data that show up for it when I use "dmesg", which shows "Turbo Twist 2" and "Manufacturer: GGG" and "HID USB Mouse v1.10". When I check to see if the Raspberry Pi is receiving input from the "mouse" (spinner, trackball & 3 buttons) with "cat /dev/input/mice" it shows that it IS getting the data in the form of weird symbols when I touch all the controls hooked up to the TurboTwist encoder. It all works fine hooked up to my laptop, and then the Raspberry Pi seems to get the signals from it, but AdvMame-1.4 doesn't register it at all (or any mouse). In fact I've tried 3 mouse devices with the Raspberry Pi and I can't get any to work, even if they are detected with "lsusb". I've gone into the advmame-1.4.rc file to edit the mouse input and the various assignments there, but no change. I need to get this finished already. Been working on it for months. :blowup:

I hope somebody that knows how to fix this will chime in.

Zeg1

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • I want to build my own arcade controls!
Re: Turbo Twist 2 & RetroPie
« Reply #2 on: July 02, 2016, 06:12:47 pm »

had the same issues and finally got my TurboTwist 2 spinner working in Retropie !! took a long time to figure everything out and gather info from other forums.

so here is how i got it working: first of all, you gotta use 'advance mame'.. looks like Retroarch / libretro emulators don't support spinners.

so, depending on your advmame version :
sudo nano /opt/retropie/configs/mame-advmame/advmame-1.4.rc   or    sudo nano /opt/retropie/configs/mame-advmame/advmame-0.94.0.rc

change the following settings :

device_mouse raw
device_raw_mousedev[0] /dev/input/mouse0
device_raw_mousedev[1] auto
device_raw_mousedev[2] auto
device_raw_mousedev[3] auto
device_raw_mousetype[0] ps2
device_raw_mousetype[1] ps2
device_raw_mousetype[2] ps2
device_raw_mousetype[3] ps2

... then change this :
input_map[p1_dialx] mouse[0,x]  for advmame 0.9
input_map[p1_dialx] mouse[0,0] for  advmame 1.4

also, to fix some issues :
sudo nano /boot/cmdline.txt

and add

   usbhid.mousepoll=2

at the end of the command line


with that, i got arkanoid 1,2 and returns, and also qester to work with advancemame  :notworthy:

1500points

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 557
    • How to succeed at Robotron
Re: Turbo Twist 2 & RetroPie
« Reply #3 on: September 13, 2017, 11:56:12 am »
a-ha!  just found this via a google search.  Thanks for the details, I'll try it out....

UPDATE- darn, tried this with advmame (advmame.rc) but still doesn't work.  I'll install adv 1.4 next and try it....

UPDATE 2- no go.  tried all 3 versions of advmame and even double checked my work per your steps.  tab>configure this game>the spinner isn't recognized when i try to map dial analog, using tempest as example


had the same issues and finally got my TurboTwist 2 spinner working in Retropie !! took a long time to figure everything out and gather info from other forums.

so here is how i got it working: first of all, you gotta use 'advance mame'.. looks like Retroarch / libretro emulators don't support spinners.

so, depending on your advmame version :
sudo nano /opt/retropie/configs/mame-advmame/advmame-1.4.rc   or    sudo nano /opt/retropie/configs/mame-advmame/advmame-0.94.0.rc

change the following settings :

device_mouse raw
device_raw_mousedev[0] /dev/input/mouse0
device_raw_mousedev[1] auto
device_raw_mousedev[2] auto
device_raw_mousedev[3] auto
device_raw_mousetype[0] ps2
device_raw_mousetype[1] ps2
device_raw_mousetype[2] ps2
device_raw_mousetype[3] ps2

... then change this :
input_map[p1_dialx] mouse[0,x]  for advmame 0.9
input_map[p1_dialx] mouse[0,0] for  advmame 1.4

also, to fix some issues :
sudo nano /boot/cmdline.txt

and add

   usbhid.mousepoll=2

at the end of the command line


with that, i got arkanoid 1,2 and returns, and also qester to work with advancemame  :notworthy:
« Last Edit: September 13, 2017, 12:24:57 pm by 1500points »

1500points

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 557
    • How to succeed at Robotron
Re: Turbo Twist 2 & RetroPie
« Reply #4 on: September 13, 2017, 07:19:19 pm »
I finally got advance mame working using the content from the retropie forums-

https://retropie.org.uk/forum/topic/2836/turbotwist-2-spinner-for-retropie/15

sudo nano /opt/retropie/configs/mame-advmame/advmame.rc
(also edit advmame-0.94.rc and advmame-1.4.rc depending on which versions of mame you have installed in retropie)

Entry values to be updated

device_mouse raw
device_raw_mousedev[0] /dev/input/mouse0
device_raw_mousedev[1] /dev/input/mouse1
device_raw_mousedev[2] /dev/input/mouse2
device_raw_mousedev[3] /dev/input/mouse3
device_raw_mousetype[0] ps2
device_raw_mousetype[1] ps2
device_raw_mousetype[2] ps2
device_raw_mousetype[3] ps2

input_map[p1_dialx] mouse[0,x] mouse[1,x] mouse[2,x] mouse[3,x]

Hawkeye71

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • I want to build my own arcade controls!
Re: Turbo Twist 2 & RetroPie
« Reply #5 on: February 21, 2018, 05:28:53 am »
arrrrrrrrrrrrrrghhhhh!!!!!!!!!!. I was hoping this would be the answer to my 10 days and counting of trying to get spinners/mice working on Retropie.

All the above two suggestions do for me is to stop the rom loading altogether.

Can someone please please tell me where the numbers in the below text come from and or what I needs to change? I have an Ultimarc spinner it is seen as device 008 at this moment, it is allocated to mouse 1 and I don't know if this is relevant but it is plugged into, via a multi hub'  the bottom right USB port of the PI. As those ports are numbered from 0 to 3 does that mean '3' needs to go somewhere? Is that USB port described as player 4 perhaps?

Yes, the spinner can be seen working in the dev/input/mice method and has been from day 1.


device_mouse raw
device_raw_mousedev[0] /dev/input/mouse0
device_raw_mousedev[1] /dev/input/mouse1
device_raw_mousedev[2] /dev/input/mouse2
device_raw_mousedev[3] /dev/input/mouse3
device_raw_mousetype[0] ps2
device_raw_mousetype[1] ps2
device_raw_mousetype[2] ps2
device_raw_mousetype[3] ps2


Any help would be much much appreciated as ten days of this is making me quite unwell now

Many thanks

Hawkeye71

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • I want to build my own arcade controls!
Re: Turbo Twist 2 & RetroPie
« Reply #6 on: February 22, 2018, 04:22:39 am »

Can anyone please tell me if there is anything wrong in my below rc in Adv Mame 094? I am mouse 1, device 008,  usb port 3 if that matters.

Although for some reason since yesterdays plea, I am now able to add the text in RC and have the rom loading, I continue to have no recognition of a spinner in Mame 094 tab.....

debug_crash no
debug_rawsound no
debug_speedmark no
device_alsa_device default
device_alsa_mixer channel
device_color_bgr15 yes
device_color_bgr16 yes
device_color_bgr24 yes
device_color_bgr32 yes
device_color_bgr8 yes
device_color_palette8 yes
device_color_yuy2 yes
device_joystick auto
device_keyboard raw
device_mouse raw
device_raw_firstkeyhack no
device_raw_mousedev[0] /dev/input/mouse0
device_raw_mousedev[1] /dev/input/mouse1
device_raw_mousedev[2] /dev/input/mouse2
device_raw_mousedev[3] /dev/input/mouse3
device_raw_mousetype[0] ps2
device_raw_mousetype[1] ps2
device_raw_mousetype[2] ps2
device_raw_mousetype[3] ps2
device_sdl_samples 512
device_sound alsa
device_video fb
device_video_cursor off
device_video_doublescan yes
device_video_fastchange no
device_video_interlace yes
device_video_output auto
device_video_overlaysize 1024
device_video_singlescan yes
dir_artwork /home/pi/RetroPie/roms/mame-advmame/artwork
dir_diff /home/pi/RetroPie/roms/mame-advmame/diff
dir_hi /home/pi/RetroPie/roms/mame-advmame/hi
dir_image /home/pi/RetroPie/roms/mame-advmame
dir_inp /home/pi/RetroPie/roms/mame-advmame/inp
dir_memcard /home/pi/RetroPie/roms/mame-advmame/memcard
dir_nvram /home/pi/RetroPie/roms/mame-advmame/nvram
dir_rom /home/pi/RetroPie/roms/mame-advmame
dir_sample /home/pi/RetroPie/roms/mame-advmame/samples
dir_snap /home/pi/RetroPie/roms/mame-advmame/snap
dir_sta /home/pi/RetroPie/roms/mame-advmame/nvram
display_adjust none
display_antialias yes
display_artwork_backdrop yes
display_artwork_bezel no
display_artwork_crop yes
display_artwork_overlay yes
display_aspectx 4
display_aspecty 3
display_beam 1
display_brightness 1
display_buffer no
display_color auto
display_expand 1
display_flicker 0
display_flipx no
display_flipy no
display_frameskip auto
display_gamma 1
display_height 480
display_intensity 1.5
display_interlaceeffect none
display_magnify 1
display_mode auto
display_pausebrightness 1
display_resize mixed
display_resizeeffect auto
display_restore yes
display_rgbeffect none
display_rol no
display_ror no
display_scanlines no
display_skipcolumns auto
display_skiplines auto
display_translucency yes
display_vsync no
display_width 640
include
input_hotkey yes
input_idleexit 0
input_map[coin5] auto
input_map[coin6] auto
input_map[coin7] auto
input_map[coin8] auto
input_map[event10] auto
input_map[event11] auto
input_map[event12] auto
input_map[event13] auto
input_map[event14] auto
input_map[event1] auto
input_map[event2] auto
input_map[event3] auto
input_map[event4] auto
input_map[event5] auto
input_map[event6] auto
input_map[event7] auto
input_map[event8] auto
input_map[event9] auto
input_map[p1_dialx] mouse[0,x] mouse[1,x] mouse[2,x] mouse[3,x]
input_map[p1_dialy] mouse[0,y] mouse[1,y] mouse[2,y] mouse[3,y]
input_map[p1_lightgunx] auto
input_map[p1_lightguny] auto
input_map[p1_mousex] auto
input_map[p1_mousey] auto
input_map[p1_paddlex] auto
input_map[p1_paddley] auto
input_map[p1_pedalbrake] auto
input_map[p1_pedalgas] auto
input_map[p1_pedalother] auto
input_map[p1_stickx] auto
input_map[p1_sticky] auto
input_map[p1_stickz] auto
input_map[p1_trackballx] mouse[0,x] mouse[1,x] mouse[2,x]
input_map[p1_trackbally] mouse[0,y] mouse[1,y] mouse[2,y]
input_map[p2_dialx] -mouse[0,y]
input_map[p2_dialy] auto
input_map[p2_lightgunx] auto
input_map[p2_lightguny] auto
input_map[p2_mousex] auto
input_map[p2_mousey] auto
input_map[p2_paddlex] auto
input_map[p2_paddley] auto
input_map[p2_pedalbrake] auto
input_map[p2_pedalgas] auto
input_map[p2_pedalother] auto
input_map[p2_stickx] auto
input_map[p2_sticky] auto
input_map[p2_stickz] auto
input_map[p2_trackballx] auto
input_map[p2_trackbally] auto
input_map[p3_dialx] auto
input_map[p3_dialy] auto
input_map[p3_lightgunx] auto
input_map[p3_lightguny] auto
input_map[p3_mahjong_a] auto
input_map[p3_mahjong_b] auto
input_map[p3_mahjong_bet] auto
input_map[p3_mahjong_c] auto
input_map[p3_mahjong_chance] auto
input_map[p3_mahjong_chi] auto
input_map[p3_mahjong_d] auto
input_map[p3_mahjong_double_up] auto
input_map[p3_mahjong_e] auto
input_map[p3_mahjong_f] auto
input_map[p3_mahjong_flip_flop] auto
input_map[p3_mahjong_g] auto
input_map[p3_mahjong_h] auto
input_map[p3_mahjong_i] auto
input_map[p3_mahjong_j] auto
input_map[p3_mahjong_k] auto
input_map[p3_mahjong_kan] auto
input_map[p3_mahjong_l] auto
input_map[p3_mahjong_m] auto
input_map[p3_mahjong_n] auto
input_map[p3_mahjong_pon] auto
input_map[p3_mahjong_reach] auto
input_map[p3_mahjong_ron] auto
input_map[p3_mahjong_score] auto
input_map[p3_mousex] auto
input_map[p3_mousey] auto
input_map[p3_paddlex] auto
input_map[p3_paddley] auto
input_map[p3_pedalbrake] auto
input_map[p3_pedalgas] auto
input_map[p3_pedalother] auto
input_map[p3_stickx] auto
input_map[p3_sticky] auto
input_map[p3_stickz] auto
input_map[p3_trackballx] auto
input_map[p3_trackbally] auto
input_map[p4_dialx] auto
input_map[p4_dialy] auto
input_map[p4_lightgunx] auto
input_map[p4_lightguny] auto
input_map[p4_mahjong_a] auto
input_map[p4_mahjong_b] auto
input_map[p4_mahjong_bet] auto
input_map[p4_mahjong_c] auto
input_map[p4_mahjong_chance] auto
input_map[p4_mahjong_chi] auto
input_map[p4_mahjong_d] auto
input_map[p4_mahjong_double_up] auto
input_map[p4_mahjong_e] auto
input_map[p4_mahjong_f] auto
input_map[p4_mahjong_flip_flop] auto
input_map[p4_mahjong_g] auto
input_map[p4_mahjong_h] auto
input_map[p4_mahjong_i] auto
input_map[p4_mahjong_j] auto
input_map[p4_mahjong_k] auto
input_map[p4_mahjong_kan] auto
input_map[p4_mahjong_l] auto
input_map[p4_mahjong_m] auto
input_map[p4_mahjong_n] auto
input_map[p4_mahjong_pon] auto
input_map[p4_mahjong_reach] auto
input_map[p4_mahjong_ron] auto
input_map[p4_mahjong_score] auto
input_map[p4_mousex] auto
input_map[p4_mousey] auto
input_map[p4_paddlex] auto
input_map[p4_paddley] auto
input_map[p4_pedalbrake] auto
input_map[p4_pedalgas] auto
input_map[p4_pedalother] auto
input_map[p4_stickx] auto
input_map[p4_sticky] auto
input_map[p4_stickz] auto
input_map[p4_trackballx] auto
input_map[p4_trackbally] auto
input_map[safequit] auto
input_map[service_coin5] auto
input_map[service_coin6] auto
input_map[service_coin7] auto
input_map[service_coin8] auto
input_map[ui_toggle_ui] auto
input_steadykey no
lcd_server none
lcd_speed 4
lcd_timeout 500
misc_bios default
misc_cheat no
misc_cheatfile cheat.dat
misc_difficulty none
misc_eventdebug no
misc_eventfile event.dat
misc_freeplay no
misc_hiscorefile hiscore.dat
misc_historyfile history.dat
misc_infofile mameinfo.dat
misc_lang none
misc_languagefile english.lng
misc_mutedemo no
misc_quiet yes
misc_safequit no
misc_smp no
misc_timetorun 0
record_sound yes
record_sound_time 15
record_video yes
record_video_interleave 2
record_video_time 15
script_coin1
script_coin2
script_coin3
script_coin4
script_emulation
script_event1
script_event10
script_event11
script_event12
script_event13
script_event14
script_event2
script_event3
script_event4
script_event5
script_event6
script_event7
script_event8
script_event9
script_led1 on(kdb, 0b1); wait(!event()); off(kdb, 0b1);
script_led2 on(kdb, 0b10); wait(!event()); off(kdb, 0b10);
script_led3
script_play
script_safequit
script_start1
script_start2
script_start3
script_start4
script_turbo while (event()) { toggle(kdb, 0b100); delay(100); } off(kdb, 0b100);
script_video wait(!event()); set(kdb, 0);
sound_adjust auto
sound_equalizer_highvolume 0
sound_equalizer_lowvolume 0
sound_equalizer_midvolume 0
sound_latency 0.05
sound_mode auto
sound_normalize no
sound_resamplefilter yes
sound_samplerate 44100
sound_samples yes
sound_volume -3
sync_fps auto
sync_resample auto
sync_speed 1
sync_startuptime auto
sync_turbospeed 3
ui_color[help_other] 000000 808080
ui_color[help_p1] 000000 ffff00
ui_color[help_p2] 000000 00ff00
ui_color[help_p3] 000000 ff0000
ui_color[help_p4] 000000 00ffff
ui_color[interface] 000000 ffffff
ui_color[select] 000000 afffff
ui_color[tag] 247ef0 ffffff
ui_font auto
ui_fontsize auto
ui_helpimage auto
ui_translucency 0.8
dkong/input_map[p1_button1] keyboard[0,z]
224x256x60/display_mode generate-double-x
224x256x60/display_resizeeffect max
224x256x60/display_rgbeffect triad16dot
224x256x60/display_resize fractional
input_map[p1_dial_left]
input_map[p1_dial_up]
input_map[p1_dial_down]
arkanoid/input_map[p2_dial_right]
input_map[p1_trackball_right]

Hawkeye71

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • I want to build my own arcade controls!
Re: Turbo Twist 2 & RetroPie
« Reply #7 on: February 23, 2018, 06:40:10 am »
Right.

Can I let anyone that stumbles across this thread in the future with similar problems know ... just because there is no reaction in the Advance Mame dial tab it does not mean the  spinner, mouse, trackball isn't already working fine in the Mame. Suggest playing the game to find out for sure

Took me 12 days to figure this out.

 

Marcoqwerty

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 105
Re: Turbo Twist 2 & RetroPie
« Reply #8 on: April 23, 2018, 09:27:41 pm »
Thanks to this 3d i've understand my spinner works ingame and not inside the TAB menu....but....do not works properly, i mean (for example on arkanoid game) it shake! When i moving the spinner the bars of Arkanoid shake (on a small range of movements) left and right, like its close between two invisible walls.

Anyone can help me?  :cry:

1500points

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 557
    • How to succeed at Robotron
Re: Turbo Twist 2 & RetroPie
« Reply #9 on: May 03, 2018, 01:16:51 pm »
Thanks to this 3d i've understand my spinner works ingame and not inside the TAB menu....but....do not works properly, i mean (for example on arkanoid game) it shake! When i moving the spinner the bars of Arkanoid shake (on a small range of movements) left and right, like its close between two invisible walls.

Anyone can help me?  :cry:

Did you set the analog controls in the Mame TAB menu to something other than the analog.  like the letters D and G?
They can conflict and make things jittery if you have them set in the tab menu.

  
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31