Read about our upcoming Code of Conduct on this issue

Commit 23e3a646 authored by a1ex's avatar a1ex
Browse files

600D: fixed Q button in menu.

--HG--
branch : unified
parent fcb4418fc9ae
......@@ -608,7 +608,7 @@ menu_handler(
)
return 1; // 0 is too aggressive :)
#ifdef CONFIG_600D
#if 0
if( event > 1 && event < 0x10000000)
{
bmp_printf( FONT_SMALL, 400, 40,
......
......@@ -31,6 +31,7 @@
#define BGMT_ZOOM_OUT 0xE // new
#define BGMT_Q 0x1C // was 8
#define BGMT_Q_ALT 0x13
#define BGMT_MOVIE_SHOOTING 0x1D // new
#define BGMT_PRESS_SET 4 // same
......
......@@ -113,6 +113,12 @@ static int handle_buttons(struct event * event) {
output = 0;
}
break;
case BGMT_Q_ALT:
if(gui_menu_shown())
{
menu_send_event(PRESS_DIRECT_PRINT_BUTTON);
return 0;
}
case BGMT_ZOOM_OUT :
// Do nothing for now
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment