<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-8001170587821659759.post3747033711544310844..comments</id><updated>2009-06-19T22:24:05.000-07:00</updated><title type='text'>Comments on My Brain Hurts: Using HTC Touch Diamond's Accelerometer/Sensor SDK...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.koushikdutta.com/feeds/3747033711544310844/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default?start-index=26&amp;max-results=25'/><author><name>Koush</name><uri>http://www.blogger.com/profile/11049460148325973407</uri><email>koushikdutta@hotmail.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>30</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-9088373188460296457</id><published>2009-06-19T22:24:05.000-07:00</published><updated>2009-06-19T22:24:05.000-07:00</updated><title type='text'>Although I appreciate your work on the API, I dont...</title><content type='html'>Although I appreciate your work on the API, I dont see any use (except for automatic screen rotation) in using sensors in serious applications.&lt;br /&gt;See my post at http://www.hjgode.de/wp/2009/06/20/itc-cn50-sensors-looking-for-usefull-applications/&lt;br /&gt;&lt;br /&gt;regards&lt;br /&gt;&lt;br /&gt;Josef</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/9088373188460296457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/9088373188460296457'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1245475445000#c9088373188460296457' title=''/><author><name>Heinz-Josef</name><uri>http://www.blogger.com/profile/10270573828737920216</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-4771102796677669515</id><published>2009-06-07T23:30:23.446-07:00</published><updated>2009-06-07T23:30:23.446-07:00</updated><title type='text'>hello. i think this is a great work, i can actuall...</title><content type='html'>hello. i think this is a great work, i can actually interact with the accelerometer and the light sensor. but if i would like to interact with camera, microphone, GPS and so on how can i do? i saw for example that the code to get light from the light sensor is 0x220004, used in NativeMethods.DeviceIoControl. i&amp;#39;d like to know if there are other similar hex for other sensors.&lt;br /&gt;thank you very much&lt;br /&gt;&lt;br /&gt;lollo_ai@hotmail.com</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/4771102796677669515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/4771102796677669515'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1244442623446#c4771102796677669515' title=''/><author><name>Lorenzo</name><uri>http://it.netlog.com/lollazzo</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-3151720221146655194</id><published>2009-04-10T12:56:00.000-07:00</published><updated>2009-04-10T12:56:00.000-07:00</updated><title type='text'>There were some questions previously raised about ...</title><content type='html'>There were some questions previously raised about the Accelerometer polling frequency limited at 25hz (both here and at scottandmichelle.net), but without any solution. Has anyone come across ways to increase this number? &lt;BR/&gt;&lt;BR/&gt;Ricardo Sampaio: Have you investigated modifying the accel capture time in the registry? I'd appreciate hearing what you have learned, or even advice on how I can investigate this myself.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/3151720221146655194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/3151720221146655194'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1239393360000#c3151720221146655194' title=''/><author><name>Alireza</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-8360960170497947324</id><published>2009-03-23T19:13:00.000-07:00</published><updated>2009-03-23T19:13:00.000-07:00</updated><title type='text'>Hi Koush,While using it with Samsung's omnia, getv...</title><content type='html'>Hi Koush,&lt;BR/&gt;&lt;BR/&gt;While using it with Samsung's omnia, getvector throws error "Unable to perform operation." when device is made lock and unlock again. It works fine until device is made lock and unlock.&lt;BR/&gt;&lt;BR/&gt;Issue is not found with HTC code.&lt;BR/&gt;&lt;BR/&gt;Any clues?&lt;BR/&gt;&lt;BR/&gt;Thanks,&lt;BR/&gt;Krupal</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/8360960170497947324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/8360960170497947324'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1237860780000#c8360960170497947324' title=''/><author><name>Krups</name><uri>http://www.blogger.com/profile/13234710328173823291</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-6122412421349064559</id><published>2009-03-21T10:17:00.000-07:00</published><updated>2009-03-21T10:17:00.000-07:00</updated><title type='text'>Hey Koush,Thanks a lot for this wonderful managed ...</title><content type='html'>Hey Koush,&lt;BR/&gt;&lt;BR/&gt;Thanks a lot for this wonderful managed code for sensor. Due to this code I am able to develop G-Trigger, shake and launch application :)&lt;BR/&gt;&lt;BR/&gt;Thanks Again :)&lt;BR/&gt;&lt;BR/&gt;Cheer!&lt;BR/&gt;Krupal</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/6122412421349064559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/6122412421349064559'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1237655820000#c6122412421349064559' title=''/><author><name>Krupal Desai</name><uri>http://forum.xda-developers.com/showthread.php?t=494267</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-3025592517268993155</id><published>2009-03-10T17:03:00.000-07:00</published><updated>2009-03-10T17:03:00.000-07:00</updated><title type='text'>Nice work! Using this I managed to abuse my Touch ...</title><content type='html'>Nice work! Using this I managed to abuse my Touch HD as motion input device ala the Wiimote, but over WLAN and with on-screen feedback :D</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/3025592517268993155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/3025592517268993155'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1236729780000#c3025592517268993155' title=''/><author><name>Rim</name><uri>http://www.xnainfo.com</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-5450449815172187199</id><published>2009-02-21T10:14:00.000-08:00</published><updated>2009-02-21T10:14:00.000-08:00</updated><title type='text'>Hello, first of all: Many thanks for for your work...</title><content type='html'>Hello, first of all: Many thanks for for your work developing such a nice piece of software.&lt;BR/&gt;But, do you know whether it is possibble to access Diamonds GPS receiver via C#.&lt;BR/&gt;And is it possible to access phone functions like sending an SMS via C# as well?&lt;BR/&gt;Regards,&lt;BR/&gt;Michael</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/5450449815172187199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/5450449815172187199'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1235240040000#c5450449815172187199' title=''/><author><name>Michael L.</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-4032479682677272863</id><published>2009-02-09T13:47:00.000-08:00</published><updated>2009-02-09T13:47:00.000-08:00</updated><title type='text'>Hi Kaushik,Do you have a version of your sample co...</title><content type='html'>Hi Kaushik,&lt;BR/&gt;&lt;BR/&gt;Do you have a version of your sample code that does not use .net?&lt;BR/&gt;&lt;BR/&gt;My project is in unmanaged, standard win32, and want to access the capacitive touch area at the bottom of my htc.&lt;BR/&gt;&lt;BR/&gt;Thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/4032479682677272863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/4032479682677272863'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1234216020000#c4032479682677272863' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-6715087346289410032</id><published>2008-12-09T07:37:00.000-08:00</published><updated>2008-12-09T07:37:00.000-08:00</updated><title type='text'>How can we change this application to carpenter's ...</title><content type='html'>How can we change this application to carpenter's bubble level, inch ruler, and centimeter ruler? If its possible can you give us a sample code?&lt;BR/&gt;&lt;BR/&gt;Regards.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/6715087346289410032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/6715087346289410032'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1228837020000#c6715087346289410032' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-1526601309921858094</id><published>2008-11-23T11:58:00.000-08:00</published><updated>2008-11-23T11:58:00.000-08:00</updated><title type='text'>how can i install these sensors.?</title><content type='html'>how can i install these sensors.?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/1526601309921858094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/1526601309921858094'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1227470280000#c1526601309921858094' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-8806915272731624265</id><published>2008-11-17T00:58:00.000-08:00</published><updated>2008-11-17T00:58:00.000-08:00</updated><title type='text'>Hi kaushik,nice work dude.But tell me one thing, w...</title><content type='html'>Hi kaushik,&lt;BR/&gt;&lt;B&gt;nice work dude.&lt;/B&gt;&lt;BR/&gt;But tell me one thing, when the Gvector changes if we get some event or we have to keep checking every time to know GVector is changed or not?&lt;BR/&gt;Like Orientation change event there must be some event to notify tha the GVector of device is changed.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/8806915272731624265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/8806915272731624265'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1226912280000#c8806915272731624265' title=''/><author><name>kaustubh</name><uri>http://www.blogger.com/profile/17720620827907553660</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-4822029606960415752</id><published>2008-11-08T11:00:00.000-08:00</published><updated>2008-11-08T11:00:00.000-08:00</updated><title type='text'>Hi Kaushik!First of all...I have to say that your ...</title><content type='html'>Hi Kaushik!&lt;BR/&gt;&lt;BR/&gt;First of all...I have to say that your site and work is awesome. I am a big fan of your work. &lt;BR/&gt;&lt;BR/&gt;I was trying your IGsensor interface and copied the code from your sensortest (teeterish) app, but I noticed that the orientationchanged event never fires. &lt;BR/&gt;IGSensor myGensor (class variable)&lt;BR/&gt;&lt;BR/&gt;Form_Load()&lt;BR/&gt;------------                myGSensor = GSensorFactory.CreateGSensor();&lt;BR/&gt;                myGSensor.OrientationChanged += new OrientationChangedHandler(mySensor_OrientationChanged);&lt;BR/&gt;&lt;BR/&gt;Event Handler&lt;BR/&gt;------&lt;BR/&gt;void mySensor_OrientationChanged(IGSensor sender)&lt;BR/&gt;&lt;BR/&gt;I noticed in Klaxon and Gsensor test app that you are actually using a timer to inspect the orientation...and not using the event at all.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/4822029606960415752'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/4822029606960415752'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1226170800000#c4822029606960415752' title=''/><author><name>Nishant Pant</name><uri>http://www.blogger.com/profile/01371651847371921612</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-5612963265501469389</id><published>2008-10-28T19:34:00.000-07:00</published><updated>2008-10-28T19:34:00.000-07:00</updated><title type='text'>Diamond's Accelermeter return the vector which con...</title><content type='html'>Diamond's Accelermeter return the vector which contains gravity...&lt;BR/&gt;But I don't care about the rotate, I wish to know the displacement.&lt;BR/&gt;I can't separate gravity from the vector. Can it return the vector without gravity?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/5612963265501469389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/5612963265501469389'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1225247640000#c5612963265501469389' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-802654794595706159</id><published>2008-10-28T00:01:00.000-07:00</published><updated>2008-10-28T00:01:00.000-07:00</updated><title type='text'>To read the light sensor, use this :const LPCWSTR ...</title><content type='html'>To read the light sensor, use this :&lt;BR/&gt;const LPCWSTR pLightSensorName = L"BKL1:";&lt;BR/&gt;#define IOCTL_LIGHT_GET 0x220004&lt;BR/&gt;Values range from 0 (dark) to 15 (max light).&lt;BR/&gt;There are other signals I have not investigated these.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/802654794595706159'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/802654794595706159'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1225177260000#c802654794595706159' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-298327534386471291</id><published>2008-10-27T23:44:00.000-07:00</published><updated>2008-10-27T23:44:00.000-07:00</updated><title type='text'>Hello,I have found other interesting signals in th...</title><content type='html'>Hello,&lt;BR/&gt;I have found other interesting signals in the Omnia acc sensor driver to get data.&lt;BR/&gt;&lt;BR/&gt;#define IOCTL_ACS_READ1      0x3f3 // reads an integer x ?&lt;BR/&gt;#define IOCTL_ACS_READ2      0x3f4 // reads an integer y ?&lt;BR/&gt;#define IOCTL_ACS_READ3      0x3f5 // reads an integer z ?&lt;BR/&gt;#define IOCTL_ACS_READ4      0x3f6 // reads a vector (x/y/z ?)&lt;BR/&gt;&lt;BR/&gt;I have not been able to fully understand the meaning of the values, and hope you will be able to do something with it.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/298327534386471291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/298327534386471291'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1225176240000#c298327534386471291' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-4300263220384185356</id><published>2008-10-22T18:36:00.000-07:00</published><updated>2008-10-22T18:36:00.000-07:00</updated><title type='text'>I converted this solution to VS2005. Then I build ...</title><content type='html'>I converted this solution to VS2005. Then I build and deploy GSensorTestForm in Diamond. It runs fine, but I can not debug...&lt;BR/&gt;The breakpoint will not be hit.&lt;BR/&gt;Please help, thanks.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/4300263220384185356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/4300263220384185356'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1224725760000#c4300263220384185356' title=''/><author><name>horatio.cs</name><uri>http://www.blogger.com/profile/03027253786455256078</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-3630178932660315992</id><published>2008-10-05T13:07:00.000-07:00</published><updated>2008-10-05T13:07:00.000-07:00</updated><title type='text'>Oh, you're right! I'll investigate this and see wh...</title><content type='html'>Oh, you're right! I'll investigate this and see what I find.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/3630178932660315992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/3630178932660315992'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1223237220000#c3630178932660315992' title=''/><author><name>Koush</name><uri>http://www.blogger.com/profile/11049460148325973407</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='13427599047107360757'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-44611729964116196</id><published>2008-10-05T13:06:00.000-07:00</published><updated>2008-10-05T13:06:00.000-07:00</updated><title type='text'>Yes it has one, it's left of the front camera. In ...</title><content type='html'>Yes it has one, it's left of the front camera. In fact you have the option in the backlight settings to set it to automatic andit shows you the actual brightness of the environment. Just checked. :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/44611729964116196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/44611729964116196'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1223237160000#c44611729964116196' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-896664595469676609</id><published>2008-10-05T11:11:00.000-07:00</published><updated>2008-10-05T11:11:00.000-07:00</updated><title type='text'>The Omnia does not have a light sensor.</title><content type='html'>The Omnia does not have a light sensor.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/896664595469676609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/896664595469676609'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1223230260000#c896664595469676609' title=''/><author><name>Koush</name><uri>http://www.blogger.com/profile/11049460148325973407</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='13427599047107360757'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-7839666129959213853</id><published>2008-10-05T07:49:00.000-07:00</published><updated>2008-10-05T07:49:00.000-07:00</updated><title type='text'>Hi Koush, I highly appreciate your work and I was ...</title><content type='html'>Hi Koush, I highly appreciate your work and I was thinking about giving you an idea for expanding its capabilities regarding the Samsung Omnia.&lt;BR/&gt;I was thinking if it could be possible to modify the Light sensor API to support the light sensor in the Omnia too.&lt;BR/&gt;That could be a great step forward for implementations.&lt;BR/&gt;Keep it up the good work!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/7839666129959213853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/7839666129959213853'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1223218140000#c7839666129959213853' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-6099395777516168092</id><published>2008-09-15T08:45:00.000-07:00</published><updated>2008-09-15T08:45:00.000-07:00</updated><title type='text'>I did notice that if I polled more than ~25 times ...</title><content type='html'>I did notice that if I polled more than ~25 times per second, the operating seemed to hang a bit while doing other operations, such as painting.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/6099395777516168092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/6099395777516168092'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1221493500000#c6099395777516168092' title=''/><author><name>Koush</name><uri>http://www.blogger.com/profile/11049460148325973407</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='13427599047107360757'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-7479477088785914932</id><published>2008-09-15T05:52:00.000-07:00</published><updated>2008-09-15T05:52:00.000-07:00</updated><title type='text'>You can change the acc capture time in the registr...</title><content type='html'>You can change the acc capture time in the registry, but i dint test to see if affects the readings.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/7479477088785914932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/7479477088785914932'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1221483120000#c7479477088785914932' title=''/><author><name>Ricardo Sampaio</name><uri>http://www.blogger.com/profile/16969713995623942420</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-7341293577953014599</id><published>2008-09-15T05:32:00.000-07:00</published><updated>2008-09-15T05:32:00.000-07:00</updated><title type='text'>Hi Koushik, thanks a lot for this!One question: ha...</title><content type='html'>Hi Koushik, thanks a lot for this!&lt;BR/&gt;&lt;BR/&gt;One question: have you ever noticed than you cannot get values from the G-sensor more than 25 times per second? If you try with a higher frequency, the values are not changing (??)&lt;BR/&gt;&lt;BR/&gt;I've seen that you have chosen a 40ms timer interval in your examples, so i wonder if this value was chosen randomly or not :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/7341293577953014599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/7341293577953014599'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1221481920000#c7341293577953014599' title=''/><author><name>ger</name><uri>http://gerosaurus.free.fr</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-7825047871837861440</id><published>2008-09-11T02:09:00.000-07:00</published><updated>2008-09-11T02:09:00.000-07:00</updated><title type='text'>Because I wanted to do a native build. I don't get...</title><content type='html'>Because I wanted to do a native build. I don't get on with this new fangled .net stuff! :-p</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/7825047871837861440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/7825047871837861440'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1221124140000#c7825047871837861440' title=''/><author><name>Jamie</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8001170587821659759.post-9063445156544218116</id><published>2008-09-10T16:01:00.000-07:00</published><updated>2008-09-10T16:01:00.000-07:00</updated><title type='text'>Why not just call GetGVector?</title><content type='html'>Why not just call GetGVector?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/9063445156544218116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8001170587821659759/3747033711544310844/comments/default/9063445156544218116'/><link rel='alternate' type='text/html' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html?showComment=1221087660000#c9063445156544218116' title=''/><author><name>Koush</name><uri>http://www.blogger.com/profile/11049460148325973407</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='13427599047107360757'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html' ref='tag:blogger.com,1999:blog-8001170587821659759.post-3747033711544310844' source='http://www.blogger.com/feeds/8001170587821659759/posts/default/3747033711544310844' type='text/html'/></entry></feed>