We need more drama. So here's another video.


Status
Not open for further replies.

Eight Bit

Hardcore Member
Joined
Nov 16, 2008
Messages
1,841
Age
46
Location
Amsterdam, Netherlands
Website
Visit site
I hope not, By default at most I would want the lid switch to just turn off the screen when closed. I'd rather have the power button handle shutdown/standby mode, or have a timed shutdown/standby mode when the lid is closed..
Yes, this...Backlight off and that's it...
I wouldn't want it to stop playing music when I close the lid... or lose the Data connection.
And preferably it will output HDMI with the lid closed too.
 

levi

Still fresh, damnit!
Joined
Oct 6, 2008
Messages
13,001
Location
Somewhere off the coast of the EU
The idea with "Second Super" is that then allows Second Super plus shoulder combos for play/pause/next/prev audio control with lid closed. As ED said, though, software configuration means you do not need to be restricted on it.
I configured deadbeef on my Pandora to use the shoulders to skip through whatever I was playing, but only chorded with a keyboard key; I used left bumper and right d-pad to skip 10% forward through a song/programme and right bumper and left d-pad to skip 3% back. I found if I just used the shoulder buttons they tended to get pressed inside my pocket of the case I was using spontaneously. I guess if you more commonly use it at work sitting on a desk next to you it's less of a problem though.
 

elvissteinjr

Very Active Member
Joined
Jun 19, 2010
Messages
706
Age
24
Location
Germany
The lid being closed doesn't press a button, but I wish it did.
Back when I was porting my game to the Pandora, I wanted to go an extra step and pause the game automatically when the lid is closed. Best I found was a program that returned if the lid was closed or not... which wasn't exactly usable as I would've had to poll by executing it frequently. Maybe there was a better way, but I found nothing documented and nobody could help me either. Would be cool if there was a simple way to get that info as a SDL event or key.

Edit: To clarify a bit more, I'm solely talking about a software button/key that could be queried as such without any extra tools.
 
Last edited:

Grench

Forum Addict!
Joined
Oct 3, 2008
Messages
6,623
I hope not, By default at most I would want the lid switch to just turn off the screen when closed. I'd rather have the power button handle shutdown/standby mode, or have a timed shutdown/standby mode when the lid is closed..
I was speaking to how it should default in the OS when shipped/installed. Assuming menus for changing things get built, your use case should be one of the options to select. I'm talking about the -safest- option for default, not necessarily the most -useful to you- option.

Yes, this...Backlight off and that's it...
I wouldn't want it to stop playing music when I close the lid... or lose the Data connection.
And preferably it will output HDMI with the lid closed too.
I was speaking to how it should default in the OS when shipped/installed. Assuming menus for changing things get built, your use case should be one of the options to select. I'm talking about the -safest- option for default, not necessarily the most -useful to you- option.

Good thing about linux is we can configure it the way we want. So I will not worry much about default configuration.
Exactly.
 

Grench

Forum Addict!
Joined
Oct 3, 2008
Messages
6,623
The lid being closed doesn't press a button, but I wish it did.
Back when I was porting my game to the Pandora, I wanted to go an extra step and pause the game automatically when the lid is closed. Best I found was a program that returned if the lid was closed or not... which wasn't exactly usable as I would've had to poll by executing it frequently. Maybe there was a better way, but I found nothing documented and nobody could help me either. Would be cool if there was a simple way to get that info as a SDL event or key.
Closing the lid -does- trip a trigger via a hall switch and a magnet, which is the exact same thing as pushing a button. If this gets mapped as 'default' to a known 'key' in the OS (Suggested 2nd Super Key), then developers like you can plan/see/expect this event when this switch is triggered.
 

docbroke

Banned
Joined
Feb 21, 2019
Messages
464
Age
39
Location
India
We don't need default, let nothing happen on closing lead. User may decide what they want on closing the lead ( shutdown, suspend, hibernate, blank screen only, lock screen, nothing or whatever other weird thing they want Pyra to do )
 

Grench

Forum Addict!
Joined
Oct 3, 2008
Messages
6,623
@Grench Maybe we need a very contentious/divisive poll to decide the default.
Better still would be to have the default be a simple shut down and have some developer thread where people are asked for all of the different things that they want the lid switch menu selections to be.

Personally, I want my lid switch to be multi-selection capable.
Close lid = shutdown
Left Shoulder 1 + Close lid = standby
Left Shoulder 2 + Close lid = launch audio player, turn off screen, activate bluetooth, pair to my headphones, route audio away from internal speakers, start the music playing then pause 0.5 seconds in.
Right Shoulder 1 + Close lid = ?????
Rightt Shoulder 2 + Close lid = ?????
Left Shoulder 1 + Left Shoulder 2 + Close lid = ??????
Right Shoulder 1 + Right Shoulder 2 + Close lid = ?????
Left Shoulder 1 + Left Shoulder 2 + Right Shoulder 1 + Close lid = ?????

By my figuring, there are 17 different actions that closing the lid can be programmed to do by holding none, one or combinations of shoulder buttons when closing it.

I still say that the shipping default for a simple lid closed without modifiers (changeable in a menu either at shipping or planned for 'some day when a developer gets to making the configuration application' should be a very simple and safe shutdown.

Oh - and yes, this has become a keyboard thread again...
 

modport

Still Fresh
Joined
Oct 13, 2019
Messages
12
Looks like great progress on both hardware and software. Looking forward to people reporting their prototype experience for their use cases.

Thanks.
 

NutNut

Yes, there are two.
Joined
Sep 17, 2016
Messages
77
The lid being closed doesn't press a button, but I wish it did.
Back when I was porting my game to the Pandora, I wanted to go an extra step and pause the game automatically when the lid is closed. Best I found was a program that returned if the lid was closed or not... which wasn't exactly usable as I would've had to poll by executing it frequently. Maybe there was a better way, but I found nothing documented and nobody could help me either. Would be cool if there was a simple way to get that info as a SDL event or key.

Edit: To clarify a bit more, I'm solely talking about a software button/key that could be queried as such without any extra tools.
The standard for lid open/close events is ACPI events. You can either watch ACPI (acpi_listen) to see when the lid event is sent, or edit the ACPI handler to do certain actions when an event is received. Of course, this is only valid if the Pandora/Pyra actually uses ACPI.
 

Zwerg01

board's own troll
Joined
Feb 15, 2017
Messages
80
Close lid = shutdown
Left Shoulder 1 + Close lid = standby
Left Shoulder 2 + Close lid = launch audio player, turn off screen, activate bluetooth, pair to my headphones, route audio away from internal speakers, start the music playing then pause 0.5 seconds in.
Right Shoulder 1 + Close lid = ?????
Rightt Shoulder 2 + Close lid = ?????
Left Shoulder 1 + Left Shoulder 2 + Close lid = ??????
Right Shoulder 1 + Right Shoulder 2 + Close lid = ?????
Left Shoulder 1 + Left Shoulder 2 + Right Shoulder 1 + Close lid = ?????
Close lid + Space = Ouch! :)
 
Status
Not open for further replies.
Top