<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/10144" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2015-11-25T04:24:24+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/10144</id>

		<entry>
		<author><name><![CDATA[ulao]]></name></author>
		<updated>2015-11-25T04:24:24+02:00</updated>

		<published>2015-11-25T04:24:24+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=10144&amp;p=30534#p30534</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=10144&amp;p=30534#p30534"/>
		<title type="html"><![CDATA[Re: Need mouse or joystick sending percentage coordinates]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=10144&amp;p=30534#p30534"><![CDATA[
Your basic usb set up will not allow data to the client. You send to host normally. If you want to do stuff like that you will need to use the usbFunctionWrite. This can be done with HID based drivers or by making your own vendor specific. There are lots of usbFunctionWrite examples around the forms.  <br /><br />The examples that come with this driver include a data transfer demo. If you only need to get the resolution on boot that could be handy. Otherwise you will need to create a vendor specific driver and send that data in bulk. Another &quot;hack&quot; way to do it would be with software. You could write a PID based device using force feedback and use something like custom force. Then in the software when you create the custom force effect and sendwhat ever you want. <br /><br />Just a heads up, this may get tricky. Best of luck.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1281">ulao</a> — Wed Nov 25, 2015 4:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[franofcholet]]></name></author>
		<updated>2015-11-24T16:21:51+02:00</updated>

		<published>2015-11-24T16:21:51+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=10144&amp;p=30533#p30533</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=10144&amp;p=30533#p30533"/>
		<title type="html"><![CDATA[Need mouse or joystick sending percentage coordinates]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=10144&amp;p=30533#p30533"><![CDATA[
Hi,<br /><br />In my project, I need to know the screen resolution before sending the coordinates. I have 2 solutions : either I get the screen resolution and send absolute coordinates, or I send directly percentage coordinates.<br /><br />I cant find in the libraries if I am allow to do it with a mouse or joystick device.<br /><br />Do you know wether it's possible ?<br /><br />Thanks for your help !<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=21699">franofcholet</a> — Tue Nov 24, 2015 4:21 pm</p><hr />
]]></content>
	</entry>
	</feed>
