Create an API for accelerometer data |
RodrigoRodrigoR
|
So, I quit! My forum messages never went to the mailing list anymore, even with a new Username :/
|
|||||||||||
|
Create an API for accelerometer data |
RodrigoCard
|
Hello There.
I see that this is on the Roadmap wishlist. Any plans for that in the short term? I am asking because now that Android have Joystick Support would be good to remove the accelerometer code from where it does not belong... What you all think? |
|||||||||||
|
Create an API for accelerometer data |
MrOzBarry
|
Sounds like this would be a great idea for something like SDL_motion - this should really exist.
On Mon, Jan 21, 2013 at 9:51 PM, Rodrigo wrote:
|
|||||||||||||
|
Create an API for accelerometer data |
Sik
|
I never understood why accelerometers were ever considered a joystick
in the first place, even back in the day when they weren't a big thing. 2013/1/21, Alex Barry:
SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||
|
Create an API for accelerometer data |
MrOzBarry
|
They're considered a joystick because they have the same degrees of freedom, so motion in an accelerometer can be translated into a joystick direction.
On Mon, Jan 21, 2013 at 11:12 PM, Sik the hedgehog wrote:
|
|||||||||||||||||
|
Re: Create an API for accelerometer data |
josebagar
|
I agree that the accelerometer data does not belong in the joystick API but I'd say it makes more sense to have a sensor API than just a specific accelerometer API. That way the user could retrieve data from all the sensors in the device (accelerometers, magnetometers, gyroscopes, GPS...) and not just accelerations.
I posted a message with a proposal for how the API could look like here: http://forums.libsdl.org/viewtopic.php?t=8698 It's pretty much based on the SDL_Joystick API and I intend to write a small prototype sensor API for Android. I'll let you know if/when I get it working. PS: It looks like my messages don't make it to the list either, so I'm going to use the raw list instead of the forum.
|
|||||||||||||||||||
|
Re: Create an API for accelerometer data |
josebagar
|
I agree that the accelerometer data does not belong in the joystick API but I'd say it makes more sense to have a sensor API than just a specific accelerometer API. That way the user could retrieve data from all the sensors in the device (accelerometers, magnetometers, gyroscopes, GPS...) and not just accelerations.
I posted a message with a proposal for how the API could look like here: http://forums.libsdl.org/viewtopic.php?t=8698 It's pretty much based on the SDL_Joystick API and I intend to write a small prototype sensor API for Android. I'll let you know if/when I get it working. PS: It looks like my messages don't make it to the list either, so I'm going to use the raw list instead of the forum.
|
|||||||||||||||||||
|
RodrigoRodrigoR
|
josebagar :
I think you should Re-send all of your Forum posts to the SDL Mailing list, you will get way more visibility as most people only read the list. None of you posts on this thread AND this ones didnt get into the list: http://forums.libsdl.org/viewtopic.php?t=8698 http://forums.libsdl.org/viewtopic.php?t=8697 Also, looks like only a few people are hitting this forum bug, maybe an ip filter? |
|||||||||||
|