• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 31 32 33 34 35 ... 117 Next »

Linux and inputs.
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Linux and inputs.
01-04-2016, 09:59 AM (This post was last modified: 01-04-2016, 12:38 PM by ulao.)
#15
ulao Offline
Above and Beyond
*******
Posts: 1,031
Threads: 81
Joined: May 2009
Yeah testing on ubuntu and it asks for a password but the password just closes the box. Once I ran in su no password was asked - gofigure.

Ok FFB, sadly I'm proly the most advanced user on the matter here. I say that because I have been working with FFB since 06 as I'm a USB developer. I have not worked on Dolphin but here is what I know.

Window: Watching USB traffic in windows when running dolphin or hitting refresh, shows (in laymans terms)
Dolphin: Hey controller are you a FFB device
Device yes I am,
Dolphin: Wacha got?
Device: constant, sine, square
Dolphin: Cool, your all set

Than I pick what I want and test it, works.

Linux:

Dolphin: ....
Device ????,

Nothing shows in the list

Mac:
Dolphin: ....
Device ????,

Nothing shows in the list

Points of interest.
Running fftest in linux
fftest : Hey controller are you a FFB device
Device: yes I am,

Test and it works

So I have concluded that FFB works in ubuntu but Dolphin never asks for it, it's like it was never developed to do so (hence why I'm here in the dev forums). Can anyone check the code? The only way to know if a controller is FFB is to either A, check the driver or B ask the device. Since this is a %100 HID ( no 3rd party drivers) device I bet the linux build is just not asking the controller like it does in windows.
In DX none managed code it looks like this

Code:
   // Look for a force feedback device we can use  
   if( FAILED( hr = g_pDI->EnumDevices( DI8DEVCLASS_GAMECTRL,    
                                        EnumFFDevicesCallback, NULL,    
                                        DIEDFL_ATTACHEDONLY | DIEDFL_FORCEFEEDBACK ) ) )    
       return hr;  
 
   if(!g_pJoystick )  
   {  
       MessageBox( NULL, _T("Force feedback or joystick device not found. ")  
                         _T("The sample will now exit."),    
                         _T("Joystick"), MB_ICONERROR | MB_OK );  
       EndDialog( hDlg, 0 );  
       return S_OK;  
   }

Not sure about SDL.

This could be why FFB does not work for osx
http://faq.iracing.com/article.php?id=209 UPADTE<--- All that did was cripple my device. I think I'd need to make one for HID PID
more talk about that here
http://www.macworld.com/article/1008250/immersion.html
[Image: newLogo_white_small.png]

main page
Working controllers


[url=http://spreadsheets.google.com/pub?key=tGD-U_eW1Rc7rNyqkpgJuIg&output=html][/url]
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Linux and inputs. - ulao - 12-20-2015, 12:21 PM
RE: Linux and inputs. - leolam - 12-22-2015, 06:29 AM
RE: Linux and inputs. - leolam - 12-22-2015, 06:32 AM
RE: Linux and inputs. - ulao - 12-22-2015, 09:14 AM
RE: Linux and inputs. - leolam - 12-22-2015, 08:57 PM
RE: Linux and inputs. - leolam - 12-22-2015, 08:59 PM
RE: Linux and inputs. - degasus - 12-23-2015, 12:41 PM
RE: Linux and inputs. - leolam - 12-23-2015, 09:19 PM
RE: Linux and inputs. - ulao - 12-29-2015, 12:11 PM
RE: Linux and inputs. - leolam - 12-29-2015, 06:53 PM
RE: Linux and inputs. - ulao - 12-30-2015, 10:25 AM
RE: Linux and inputs. - leolam - 12-30-2015, 06:43 PM
RE: Linux and inputs. - ulao - 01-03-2016, 02:43 PM
RE: Linux and inputs. - leolam - 01-03-2016, 09:45 PM
RE: Linux and inputs. - ulao - 01-04-2016, 09:59 AM
RE: Linux and inputs. - leolam - 01-05-2016, 03:01 AM
RE: Linux and inputs. - ulao - 01-05-2016, 07:19 AM
RE: Linux and inputs. - leolam - 01-05-2016, 07:39 AM
RE: Linux and inputs. - ulao - 01-06-2016, 07:44 AM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode