WineHQ

Hid: Difference between revisions

(Initial Stub Page)
 
(More Data)
Line 6: Line 6:
==HID (Human Interface Devices) in WINE==
==HID (Human Interface Devices) in WINE==
Direct HID support has been added to Wine. This page is to help users and developers be able to test and use HID devices. This is not directly about [[DInput]] or [[XInput]] support and those topics should be discussed elsewhere.
Direct HID support has been added to Wine. This page is to help users and developers be able to test and use HID devices. This is not directly about [[DInput]] or [[XInput]] support and those topics should be discussed elsewhere.
==Relevant Debug Channels==
* +hid: Higher level HID messages
* +hid_report: Very noisy messages for every input and output report to hid devices
* +plugplay: Low level native bus device releated messages
==Steps to do HID Testing==
# On Linux, by default no hidraw devices on Linux are given any access to users. So you will need to had rw permission to the <code>/dev/hidraw<X></code> device  that you want to have accessible in Wine.  Or if you want to be wild and crazy you can add a new udev rule to add permission to all the devices as they are added. '''This is not necessary on Mac'''.
# The winebus service is not started by default yet. so you will need to start winebus.  (wine net start winebus) This makes things a little complicated. I would recommend testing with a process like this:
<nowiki>
wine cmd
net start winebus
<test application>
</nowiki>
Or you an change the service start for winebus in the registry <code>[System\\CurrentControlSet\\Services\\WineBus] "Start"=dword:00000002</code>
==Devices that have been tested==
<div style="height:10em; overflow:auto; border: 2px solid #088; width:900px">
{| border="1"
| style="width:400px; align=center" | '''Device'''
| style="width:100px; align=center" | '''Platforms(s)'''
| style="width:400px; align=center" | '''Status'''
|}
{| border="1"
| style="width:400px; align=center" | Logitech Rumblepad 2
| style="width:100px; align=center" | Linux/Mac
| style="width:400px; align=center" | Working
|}
{| border="1"
| style="width:400px; align=center" | Xbox360 Controller
| style="width:100px; align=center" | OS/X
| style="width:400px; align=center" | Working (with 3rd party mac drivers installed)
|}
{| border="1"
| style="width:400px; align=center" | Steam Controller
| style="width:100px; align=center" |
| style="width:400px; align=center" | Not Working
|}
</div>


==Previous Talks given by [[User:AricStewart|Aric Stewart]] at WineConfs==
==Previous Talks given by [[User:AricStewart|Aric Stewart]] at WineConfs==
* [[Media:Wineconf-hid-2016.pdf|WineConf 2016]]
* [[Media:Wineconf-hid-2016.pdf|WineConf 2016]]
* [[Media:WineConf-HID.pdf|WineConf 2015]]
* [[Media:WineConf-HID.pdf|WineConf 2015]]


----
----
[[Category:Development]] [[Category:Interface]]
[[Category:Development]] [[Category:Interface]]

Revision as of 21:11, 12 November 2016

Maintained by Aric Stewart

If you find incorrect information here please contact me.

HID (Human Interface Devices) in WINE

Direct HID support has been added to Wine. This page is to help users and developers be able to test and use HID devices. This is not directly about DInput or XInput support and those topics should be discussed elsewhere.

Relevant Debug Channels

  • +hid: Higher level HID messages
  • +hid_report: Very noisy messages for every input and output report to hid devices
  • +plugplay: Low level native bus device releated messages

Steps to do HID Testing

  1. On Linux, by default no hidraw devices on Linux are given any access to users. So you will need to had rw permission to the /dev/hidraw<X> device that you want to have accessible in Wine. Or if you want to be wild and crazy you can add a new udev rule to add permission to all the devices as they are added. This is not necessary on Mac.
  2. The winebus service is not started by default yet. so you will need to start winebus. (wine net start winebus) This makes things a little complicated. I would recommend testing with a process like this:
	wine cmd
	net start winebus
	<test application>

Or you an change the service start for winebus in the registry [System\\CurrentControlSet\\Services\\WineBus] "Start"=dword:00000002

Devices that have been tested

Device Platforms(s) Status
Logitech Rumblepad 2 Linux/Mac Working
Xbox360 Controller OS/X Working (with 3rd party mac drivers installed)
Steam Controller Not Working

Previous Talks given by Aric Stewart at WineConfs


This page was last edited on 12 November 2016, at 21:11.