[Wine] usb interface support
"Jörg Kühne"
joerg.kuehne at gmx.net
Sat Sep 27 09:28:48 CDT 2008
dear wine user group
I have a problem with my usb commander (7-channel commander) which is not mapped correctly to the application. If I test the event handling as root with the following command:
evtest /dev/input/event8 -> this has the following output:
Input driver version is 1.0.0
Input device ID: bus 0x3 vendor 0x127f product 0xe008 version 0x100
Input device name: "IPACS Ikarus Gamecommander"
etc.
and it reacting correctly to the usb commander events reps. it is responding to the axes-movements of the usb commander.
the command:
cd ~/.wine/drive_c/Programme\IPACS\AeroFly\ Professional\ Deluxe
> WINEDEBUG=+dinput wine flyrun.exe > dinput.log 2>&1
gives following output:
trace:dinput:find_joydevs Found a joystick on /dev/input/event8: IPACS Ikarus Gamecommander ({9e573eda-7734-11d2-8d4a-23903fb6bdf7})
trace:dinput:find_joydevs ... with axis 0: cur=0, min=0, max=255, fuzz=0, flat=15
trace:dinput:find_joydevs ... with axis 1: cur=0, min=0, max=255, fuzz=0, flat=15
trace:dinput:find_joydevs ... with axis 2: cur=0, min=0, max=255, fuzz=0, flat=15
trace:dinput:find_joydevs ... with axis 3: cur=0, min=0, max=255, fuzz=0, flat=15
trace:dinput:find_joydevs ... with axis 4: cur=0, min=0, max=255, fuzz=0, flat=15
trace:dinput:find_joydevs ... with axis 5: cur=0, min=0, max=255, fuzz=0, flat=15
trace:dinput:find_joydevs ... with axis 6: cur=0, min=0, max=255, fuzz=0, flat=15
trace:dinput:fill_joystick_dideviceinstanceA 580 0x33fab0
trace:dinput:IDirectInput7AImpl_CreateDeviceEx
and even more:
race:dinput:JoystickAImpl_SetProperty proprange(-1000,1000) obj=-1
trace:dinput:joystick_map_axis (0 <0> 255) -> (-1000 <2> 1000): val=-127 ret=-996
trace:dinput:joystick_map_axis (0 <0> 255) -> (-1000 <2> 1000): val=-127 ret=-996
trace:dinput:joystick_map_axis (0 <0> 255) -> (-1000 <2> 1000): val=-127 ret=-996
trace:dinput:joystick_map_axis (0 <0> 255) -> (-1000 <2> 1000): val=-127 ret=-996
trace:dinput:joystick_map_axis (0 <0> 255) -> (-1000 <2> 1000): val=-127 ret=-996
trace:dinput:joystick_map_axis (0 <0> 255) -> (-1000 <2> 1000): val=-127 ret=-996
trace:dinput:joystick_map_axis (0 <0> 255) -> (-1000 <2> 1000): val=-127 ret=-996
trace:dinput:IDirectInputAImpl_EnumDevices - checking device 2 ('Wine Linux-input joystick driver')
trace:dinput:IDirectInputAImpl_EnumDevices - checking device 3 ('Wine Linux joystick driver')
trace:dinput:joydev_enum_deviceA Enumerating the linux Joystick device: /dev/input/js0 (IPACS Ikarus Gamecommander)
and even more:
trace:dinput:IDirectInputAImpl_EnumDevices - checking device 3 ('Wine Linux joystick driver')
trace:dinput:hook_thread_proc Processing hook change notification lp:0
trace:dinput:JoystickAImpl_Unacquire (this=0x14abd0)
trace:dinput:JoystickAImpl_Unacquire (this=0x14abd0)
trace:dinput:JoystickAImpl_SendForceFeedbackCommand (this=0x14abd0,1)
trace:dinput:release_DataFormat Deleting DataFormat: 0x14ac34
trace:dinput:IDirectInputAImpl_Release (0x147518) releasing from 3
trace:dinput:JoystickAImpl_Unacquire (0x15ac18)
trace:dinput:JoystickAImpl_Unacquire closing joystick device
trace:dinput:hook_thread_proc Processing hook change notification lp:0
trace:dinput:hook_thread_proc Processing hook change notification lp:0
thanks for your help in advanced.
best regards
joerg
--
GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry Passion!
http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196
More information about the wine-users
mailing list