Changeset 460
- Timestamp:
- 07/30/08 19:16:01 (5 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
-
core/gui.c (modified) (2 diffs)
-
core/kbd.c (modified) (1 diff)
-
include/camera.h (modified) (1 diff)
-
include/keyboard.h (modified) (1 diff)
-
platform/sx100is/kbd.c (modified) (3 diffs)
-
platform/sx100is/sub/100c/makefile.inc (modified) (1 diff)
-
platform/sx100is/sub/100c/movie_rec.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/gui.c
r434 r460 67 67 #define SHORTCUT_SET_HYPERFOCAL KEY_DOWN 68 68 69 #elif defined(CAMERA_sx100is) 70 //Alt mode 71 #define SHORTCUT_TOGGLE_RAW KEY_ERASE 72 //Half press shoot button 73 #define SHORTCUT_TOGGLE_HISTO KEY_UP 74 #define SHORTCUT_TOGGLE_ZEBRA KEY_DOWN 75 #define SHORTCUT_TOGGLE_OSD KEY_RIGHT 76 //Alt mode & Manual mode 77 #define SHORTCUT_SET_INFINITY KEY_UP 78 #define SHORTCUT_SET_HYPERFOCAL KEY_DOWN 79 69 80 #else 70 81 … … 988 999 static const char* names[]={ "Print", "ISO"}; 989 1000 static const int keys[]={ KEY_PRINT, KEY_ISO }; 1001 #elif defined(CAMERA_sx100is) 1002 static const char* names[]={ "Print", "Face"}; 1003 static const int keys[]={ KEY_PRINT, KEY_FACE }; 990 1004 #else 991 1005 #error camera alt-buttons not defined -
trunk/core/kbd.c
r454 r460 432 432 { KEY_EXPO_CORR, "expo_corr" }, 433 433 { KEY_MICROPHONE, "fe" }, 434 { KEY_FACE, "face" }, 434 435 { 0xFF, "remote" }, 435 { 0xFFFF, "no_key" },436 { 0xFFFF, "no_key" }, 436 437 }; 437 438 -
trunk/include/camera.h
r454 r460 552 552 #define CAM_CAN_MUTE_MICROPHONE 1 553 553 #define CAM_AF_SCAN_DURING_VIDEO_RECORD 1 554 #define CAM_ADJUSTABLE_ALT_BUTTON 1 555 #define CAM_SHOW_OSD_IN_SHOOT_MENU 1 554 556 555 557 //---------------------------------------------------------- -
trunk/include/keyboard.h
r425 r460 23 23 #define KEY_EXPO_CORR 20 //G-series 24 24 #define KEY_MICROPHONE 21 25 #define KEY_DUMMY 22 //dummy key for pressing to disable energy saving in alt mode 25 #define KEY_FACE 22 //SX100IS 26 #define KEY_DUMMY 23 //dummy key for pressing to disable energy saving in alt mode 26 27 27 28 -
trunk/platform/sx100is/kbd.c
r442 r460 18 18 static long last_kbd_key = 0; 19 19 static long alt_mode_key_mask = 0x10000000; 20 static int alt_mode_led=0;21 20 static int usb_power=0; 22 21 static int remote_key, remote_count; … … 24 23 25 24 #define KEYS_MASK0 (0x0000000C) 26 #define KEYS_MASK1 (0x1 71F0300)25 #define KEYS_MASK1 (0x1F1F0300) 27 26 #define KEYS_MASK2 (0x00000000) 28 27 … … 51 50 { 1, KEY_ERASE , 0x01000000 }, 52 51 { 1, KEY_LEFT , 0x00040000 }, 52 { 1, KEY_FACE , 0x08000000 }, 53 53 54 54 { 0, KEY_SHOOT_FULL, 0x0000000C }, -
trunk/platform/sx100is/sub/100c/makefile.inc
r435 r460 8 8 MEMISOSTART=0x9F498 9 9 MEMISOSIZE=0x40000 10 //MEMISOSIZE=0x5000011 10 ROMBASEADDR=0xffc00000 12 11 -
trunk/platform/sx100is/sub/100c/movie_rec.c
r441 r460 1959 1959 1960 1960 long CompressionRateTable[]={0x60, 0x5D, 0x5A, 0x57, 0x54, 0x51, 0x4D, 0x48, 0x42, 0x3B, 0x32, 0x29, 0x22, 0x1D, 0x17, 0x14, 0x10, 0xE, 0xB, 9, 7, 6, 5, 4, 3, 2, 1}; 1961 1961
Note: See TracChangeset
for help on using the changeset viewer.