Action Item #386

Video list and poster need to accept "Q" and "Home" to exit

Added by Hammel almost 4 years ago. Updated over 3 years ago.

Status:ClosedStart date:14 Sep 2014
Priority:ImmediateDue date:
Assignee:Hammel% Done:


Category:Image display
Target version:PiBox - 0.10.0
Severity:02 - High


If the user types Q or the Home key the application should exit. These keys should be recognized in both the video list and in the poster image.

Associated revisions

Revision cad44784
Added by Hammel over 3 years ago

RM #386: Add Ctrl-Q and HOME button to quit the app.

Revision 59f9eba9
Added by Hammel over 3 years ago

RM #386: Fix key_press to return false if no matching key found so default handler is run or true if we intercept the keypress.


#1 Updated by Hammel almost 4 years ago

  • Severity changed from 03 - Medium to 02 - High

#2 Updated by Hammel over 3 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

Added Ctrl-Q and Home button as quit options. Ctrl-Q tested but Home wasn't since the Favi keyboard doesn't have a Home key.

That works well and can easily be extended to whatever keys map to specific controllers, like the WiiMote.

Now I need to add ENTER and SpaceBar to activate the current selection.

#3 Updated by Hammel over 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

Fixed keypress handler to return false if we don't intercept keypress and true if we do. This allows us to intercept space bar and enter keys to play the video.

Closing issue.

Also available in: Atom PDF