Hi,

Bob Murphy at ACCESS has been doing a lot of work on integrating screen
orientation and accelerometers for the GNOME stack - I don't suppose
anyone's had a look at his work here, have they?

Cheers,
Dave.

gary liquid wrote:
> the answer to the identification problem is by querying the xrandr x11
> extension library.
> 
> http://www.xfree86.org/current/Xrandr.3.html
> 
> Kamen correctly points out however that a user with the default installation
> of maemo does not need to query this interface, there is only 1 possible
> default orientation: landscape.
> 
> Future versions of maemo will hopefully have a fully working xrandr
> implementation and allow rotation to be queried and controlled in the
> default system.
> 
> *note to nokians reading, PLEASE make sure this works and also confirm that
> XV rotates correctly as well ;)*
> 
> Gary Birkett (lcuk in #maemo)
> 
> 
> 
> 
> 
> On Tue, Jan 27, 2009 at 2:57 PM, Kamen Bundev <bun...@gmail.com> wrote:
> 
>> BTW, the only possible way I know of to rotate the screen is by using the
>> patched rotation kernel. Not much users know about that.
>>
>>
>> On Tue, Jan 27, 2009 at 4:55 PM, Kamen Bundev <bun...@gmail.com> wrote:
>>
>>> Maybe *gdk_screen_get_width ()* and *gdk_screen_get_height ()* can be
>>> used to detect the screen dimensions?
>>>
>>> Regards:
>>> Bundyo
>>>
>>>
>>> On Tue, Jan 27, 2009 at 4:21 PM, Deepak Kr. Sharma, Noida <
>>> deepa...@hcl.in> wrote:
>>>
>>>> Hi,
>>>>
>>>> Even if it doesn't have sensors, but the screen orientation can be
>>>> changed by the user or not, like the user has the option to view a video
>>>> in landscape mode?
>>>>
>>>> Regards,
>>>> Deepak
>>>>
>>>> -----Original Message-----
>>>> From: ma...@bitblit.net [mailto:ma...@bitblit.net]
>>>> Sent: Tuesday, January 27, 2009 7:36 PM
>>>> To: Deepak Kr. Sharma, Noida
>>>> Cc: maemo-developers@maemo.org
>>>> Subject: Re: Screen orientation
>>>>
>>>> On Tue, 27 Jan 2009, Deepak  Kr. Sharma, Noida wrote:
>>>>
>>>>> How do I find out from my application if the current screen
>>>> orientation
>>>>> is landscape or portrait?
>>>> AFAIK, no Maemo device has sensors for that.
>>>>
>>>>
>>>> --
>>>> Aj.
>>>>
>>>>
>>>> DISCLAIMER:
>>>>
>>>> -----------------------------------------------------------------------------------------------------------------------
>>>>
>>>> The contents of this e-mail and any attachment(s) are confidential and
>>>> intended for the named recipient(s) only.
>>>> It shall not attach any liability on the originator or HCL or its
>>>> affiliates. Any views or opinions presented in
>>>> this email are solely those of the author and may not necessarily reflect
>>>> the opinions of HCL or its affiliates.
>>>> Any form of reproduction, dissemination, copying, disclosure,
>>>> modification, distribution and / or publication of
>>>> this message without the prior written consent of the author of this
>>>> e-mail is strictly prohibited. If you have
>>>> received this email in error please delete it and notify the sender
>>>> immediately. Before opening any mail and
>>>> attachments please check them for viruses and defect.
>>>>
>>>>
>>>> -----------------------------------------------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> maemo-developers mailing list
>>>> maemo-developers@maemo.org
>>>> https://lists.maemo.org/mailman/listinfo/maemo-developers
>>>>
>>>
>> _______________________________________________
>> maemo-developers mailing list
>> maemo-developers@maemo.org
>> https://lists.maemo.org/mailman/listinfo/maemo-developers
>>
>>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers

-- 
maemo.org docsmaster
Email: dne...@maemo.org
Jabber: bo...@jabber.org

_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to