Opened 12 years ago

Closed 3 years ago

#7831 closed feature request (outdated)

WEBOS: Add autorotate of screen

Reported by: SF/rsjamilla Owned by: ccawley2011
Priority: normal Component: Port: WebOS
Version: Keywords:
Cc: Game:


Please add autorotate for WebOS. I would prefer the game to play on the HP Touchpad with home button on the left. This is due to my case that tilts the screen with this orientation. Thanks. Otherwise the port is excellent. Really good work!

Ticket imported from: #3434102. Ticket imported from: feature-requests/647.

Change History (6)

comment:1 by digitall, 10 years ago

Summary: WebOS autorotateWEBOS: Add autorotate of screen

comment:2 by digitall, 10 years ago

Owner: set to kayahr

comment:3 by digitall, 10 years ago

Have looked at this. In WebOS native JS applications, this should be fairly simple i.e. change window.PalmSystem.setWindowOrientation('left'); to window.PalmSystem.setWindowOrientation('free'); thus allowing autorotation and a bit of work to deal with redrawing screen.

However, our WebOS port uses the SDL built on top of the PDL, which allows C/C++ code to be used. Unfortunately the PDL API seems to only support fixed orientations:

And even then the SDL v1.2.X library doesn't seem to support this hence:

Overall, this looks like it is not possible without some major work.

@Kayahr: Any POV on this? Close as later?

comment:4 by csnover, 6 years ago

Component: Ports

comment:5 by digitall, 5 years ago

Component: PortsPort: WebOS

comment:6 by ccawley2011, 3 years ago

Owner: changed from kayahr to ccawley2011
Resolution: outdated
Status: newclosed

The WebOS port was removed in ScummVM v2.2.0.

Note: See TracTickets for help on using tickets.