GLBasic forum

Main forum => Bug Reports => Topic started by: ampos on 2011-Oct-28

Title: Accelerometer on TP Webos 3.0.4
Post by: ampos on 2011-Oct-28
Getjoyx&y&z are always returning 0.

Perhaps since 3.0.4 as it worked before.
Title: Re: Accelerometer on TP Webos 3.0.4
Post by: Crivens on 2011-Oct-28
Yeah mine is the same. It didn't work correctly before but it at least got some data from the commands (different to other devices)

Cheers
Title: Re: Accelerometer on TP Webos 3.0.4
Post by: Ian Price on 2011-Oct-28
It's a TP bug, not a GLB one. The issue is mentioned on Pre-Central - it was actually made worse by the latest update.

Title: Re: Accelerometer on TP Webos 3.0.4
Post by: Crivens on 2011-Oct-28
Really? Damn will have to make a note in my game then (can also use touch controls).

Well annoying!!!

Cheers
Title: Re: Accelerometer on TP Webos 3.0.4
Post by: ampos on 2011-Oct-28
Quote from: Ian Price on 2011-Oct-28
It's a TP bug, not a GLB one. The issue is mentioned on Pre-Central - it was actually made worse by the latest update.

The bug is no-acelerometer, or the wrong-direction acelerometer?
Title: Re: Accelerometer on TP Webos 3.0.4
Post by: Ian Price on 2011-Oct-28
I can't remember now - I know it was discussed though. See for yourself -

http://forums.precentral.net/hp-touchpad/305165-theory-accelerometer-3-0-4-a.html?highlight=accelerometer

http://forums.precentral.net/hp-touchpad/304259-accelerometer-issues-after-3-0-4-a.html?highlight=accelerometer

http://forums.precentral.net/hp-touchpad/303973-official-3-0-4-build-77-bug-issue-tracking.html?highlight=accelerometer

http://forums.precentral.net/webos-patches/305428-patch-request-accelerometer-3-0-2-a.html?highlight=accelerometer

To see all threads - http://forums.precentral.net/search.php?searchid=18192919

It's pretty well documented.
Title: Re: Accelerometer on TP Webos 3.0.4
Post by: Kitty Hello on 2011-Oct-29
I fixed it. You must not call SDL_Init twice (which is normal - once for gfx, once for sound, once for input).
Title: Re: Accelerometer on TP Webos 3.0.4
Post by: Crivens on 2011-Nov-01
Yeah this is perfect for me now. Ta! :)

Cheers