Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  Rotating the display for landscape layout
« previous next »
  • Print
Pages: [1]

Author Topic: Rotating the display for landscape layout  (Read 3469 times)

Offline Chuck McKnight

  • Member
  • *
  • Posts: 17
Rotating the display for landscape layout
« on: March 21, 2008, 10:14:30 PM »
I have a Sandisk Sansa e250. I put Rockbox on it, and I love it, but I have one suggestion.

I would like to be able to rotate the display 270 degrees, so that I hold the player sideways and use it with a landscape layout.

I looked in the current builds section and noticed that there are versions of Rockbox for the iriver H320/340 and the iPod color/Photo. Both of those have the exact same resolution as the Sansa e200 series, but the display is landscape instead of portrait.

I don't know a lot about the programming behind Rockbox, but if my theory is correct, it should not be too horribly difficult to take the display elements from the iriver or ipod, and combine them with the base operating system from the sansa to achieve the desired result.

Is this possible? What exactly would I have to do?

Thanks!
Logged

zajacattack

  • Guest
Re: Rotating the display for landscape layout
« Reply #1 on: March 21, 2008, 10:19:08 PM »
Actually, the players have completely different architectures. It would be much easier to just re-adjust the screen size in the rockbox code, rather than try to mess with what you are suggesting (which, quite frankly, sounds almost impossible).
Logged

Offline Chuck McKnight

  • Member
  • *
  • Posts: 17
Re: Rotating the display for landscape layout
« Reply #2 on: March 21, 2008, 10:22:23 PM »
How difficult would it be to do that?
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Rotating the display for landscape layout
« Reply #3 on: March 22, 2008, 02:38:45 PM »
There used to be a patch on the tracker that would rotate the display of the Gigabeat from portrait to landscape.  The patch was rejected as not doing things in the right way (#6688).  However, it's a proof of concept and if someone could write a new patch that addresses the concerns presented in that task then I would think that it might be considered.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline disorganizer

  • Member
  • *
  • Posts: 2
Re: Rotating the display for landscape layout
« Reply #4 on: March 22, 2008, 05:03:56 PM »
i wonder if its really that hard to implement. the lcd driver could do the coordinate-traversal from x/y to y/x if a flag in the main viewport is set.
the coordinate checking would also need to traverse the coordinates if this flag in the viewport is set.
Logged

Offline nls

  • Developer
  • Member
  • *
  • Posts: 460
Re: Rotating the display for landscape layout
« Reply #5 on: March 24, 2008, 12:39:13 PM »
Apart from driver and display code that needs adjusting for this, a lot of UI code would need to be changed as lots of it relies on constant width/height of the display.
Logged

Offline Angus_NB

  • Member
  • *
  • Posts: 29
Re: Rotating the display for landscape layout
« Reply #6 on: April 02, 2008, 12:19:31 PM »
Doesn't the Sansa c200 series have the same size screen but in landscape mode?
Would this help at all?  I haven't looked at the source code at all.
Logged
Sansa e260

Offline Chuck McKnight

  • Member
  • *
  • Posts: 17
Re: Rotating the display for landscape layout
« Reply #7 on: April 02, 2008, 04:09:13 PM »
It's a similar player, but a much smaller screen.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  Rotating the display for landscape layout
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.094 seconds with 15 queries.