Changeset 1797
- Timestamp:
- 04/11/12 04:14:42 (14 months ago)
- Location:
- trunk
- Files:
-
- 10 edited
-
CHDK/LANG/english.lng (modified) (1 diff)
-
core/conf.c (modified) (1 diff)
-
core/gui.c (modified) (1 diff)
-
core/gui_lang.h (modified) (1 diff)
-
include/camera.h (modified) (1 diff)
-
include/conf.h (modified) (1 diff)
-
platform/sx30/kbd.c (modified) (1 diff)
-
platform/sx30/platform_camera.h (modified) (1 diff)
-
platform/sx40hs/kbd.c (modified) (1 diff)
-
platform/sx40hs/platform_camera.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/CHDK/LANG/english.lng
r1719 r1797 672 672 673 673 551 "Enable script start" 674 675 552 "Disable Zoom Assist button" -
trunk/core/conf.c
r1796 r1797 454 454 CONF_INFO(286, conf.overexp_threshold, CONF_DEF_VALUE, i:5, NULL), 455 455 CONF_INFO(287, conf.overexp_ev_enum, CONF_DEF_VALUE, i:3, conf_change_autoiso), 456 457 #if defined(CAM_ZOOM_ASSIST_BUTTON_CONTROL) 458 CONF_INFO(288, conf.zoom_assist_button_disable, CONF_DEF_VALUE, i:0, NULL), 459 #endif 456 460 }; 457 461 #define CONF_NUM (sizeof(conf_info)/sizeof(conf_info[0])) -
trunk/core/gui.c
r1796 r1797 494 494 #if CAM_ADJUSTABLE_ALT_BUTTON 495 495 MENU_ITEM(0x22,LANG_MENU_MISC_ALT_BUTTON, MENUITEM_ENUM, gui_alt_mode_button_enum, 0 ), 496 #endif 497 #if defined(CAM_ZOOM_ASSIST_BUTTON_CONTROL) 498 MENU_ITEM (0x5c,LANG_MENU_MISC_ZOOM_ASSIST, MENUITEM_BOOL, &conf.zoom_assist_button_disable, 0 ), 496 499 #endif 497 500 MENU_ITEM(0x5d,LANG_MENU_MISC_DISABLE_LCD_OFF, MENUITEM_ENUM, gui_alt_power_enum, 0 ), -
trunk/core/gui_lang.h
r1719 r1797 677 677 #define LANG_MENU_SCRIPT_START_ENABLE 551 678 678 679 #define GUI_LANG_ITEMS 551 679 #define LANG_MENU_MISC_ZOOM_ASSIST 552 680 681 #define GUI_LANG_ITEMS 552 680 682 681 683 //------------------------------------------------------------------- -
trunk/include/camera.h
r1790 r1797 197 197 #undef DRAW_ON_ACTIVE_BITMAP_BUFFER_ONLY // Draw pixels on active bitmap buffer only. Requires active_bitmap_buffer location in stubs_min.S or stubs_entry.S. 198 198 199 #undef CAM_ZOOM_ASSIST_BUTTON_CONTROL // Activate menu option to enable/disable the zoom assist button on the SX30/SX40 200 // For other cameras, requires additional support code in kbd.c (see the SX30 or SX40 version) 201 199 202 //---------------------------------------------------------- 200 203 // Overridden values for each camera -
trunk/include/conf.h
r1719 r1797 327 327 328 328 // gen 2 USB remote 329 int remote_switch_type ;330 int remote_control_mode ;329 int remote_switch_type; 330 int remote_control_mode; 331 331 332 332 int ext_video_time; 333 333 334 int remote_enable_scripts ; // usb remote activates scripts in <ALT> mode334 int remote_enable_scripts; // usb remote activates scripts in <ALT> mode 335 335 336 #if defined(CAM_ZOOM_ASSIST_BUTTON_CONTROL) 337 int zoom_assist_button_disable; // used to disable the zoom assist button on SX30 & SX40 for people who keep accidentaly pressing it 338 #endif 339 336 340 #ifdef CAM_HAS_GPS 337 341 int gps_record; -
trunk/platform/sx30/kbd.c
r1568 r1797 174 174 } 175 175 176 // Disable Zoom Assist button 177 if (conf.zoom_assist_button_disable) 178 physw_status[0] |= 0x00010000; 179 176 180 //_kbd_read_keys_r2(physw_status); 177 181 -
trunk/platform/sx30/platform_camera.h
r1698 r1797 127 127 #define CAMERA_MAX_DIST 9090910 // Override max subject distance 128 128 129 #define CAM_ZOOM_ASSIST_BUTTON_CONTROL 1 // Activate the menu option to allow disabling the zoom assist button 130 129 131 //---------------------------------------------------------- 130 132 -
trunk/platform/sx40hs/kbd.c
r1568 r1797 174 174 } 175 175 176 // Disable Zoom Assist button 177 if (conf.zoom_assist_button_disable) 178 physw_status[0] |= 0x00010000; 179 176 180 //_kbd_read_keys_r2(physw_status); 177 181 -
trunk/platform/sx40hs/platform_camera.h
r1698 r1797 133 133 #undef CAMERA_MAX_DIST 134 134 #define CAMERA_MAX_DIST 9523810 // Override max subject distance 135 136 #define CAM_ZOOM_ASSIST_BUTTON_CONTROL 1 // Activate the menu option to allow disabling the zoom assist button 137 135 138 //----------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.