|10-13-2011, 12:55 PM||#1|
Join Date: Oct 2011
Device: PocketBook Pro 903
How to use GSensor?
I tried to read GSensor values with ReadGSensor(x,y,z) function. I'm getting some values like 15, 0, -115 and so on, but every time I call this function, these values are the same until I close app and run it again. I've tried QueryGSensor() function, but it doesn't work as I supposed to.
And so - how to read gsensor values dynamically?
|10-13-2011, 07:17 PM||#2|
Join Date: Oct 2010
Location: Vancouver, BC, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840
Maybe you have to call SetGSensor(GSENSOR_ON) first? Or with GSENSOR_INTR (don't know what it means though)?