Changeset 1968
- Timestamp:
- 07/10/12 04:58:30 (11 months ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
core/gui.c (modified) (1 diff)
-
platform/ixus120_sd940/kbd.c (modified) (3 diffs)
-
platform/ixus120_sd940/platform_camera.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/gui.c
r1933 r1968 1480 1480 static const char* names[]={ "Video", "Display", "Playback", "Video"}; 1481 1481 static const int keys[] = {KEY_PRINT, KEY_DISPLAY, KEY_PLAYBACK, KEY_VIDEO}; 1482 #elif defined(CAMERA_ixus120_sd940) 1483 static const char* names[]={ "Display", "Playback" }; 1484 static const int keys[] = {KEY_DISPLAY, KEY_PLAYBACK }; 1482 1485 #else 1483 1486 #error camera alt-buttons not defined -
trunk/platform/ixus120_sd940/kbd.c
r1568 r1968 23 23 #define KEYS_MASK0 (0x00000008|0X00000004) 24 24 #define KEYS_MASK1 (0x00000000) 25 #define KEYS_MASK2 (0x00000 300|0x00000100|0x00000080|0x00000040|0x00000010|0x00000020|0x00000004|0x00000008|0x00000001)25 #define KEYS_MASK2 (0x00000800|0x00000300|0x00000100|0x00000080|0x00000040|0x00000010|0x00000020|0x00000004|0x00000008|0x00000001) 26 26 27 27 #define NEW_SS (0x2000) … … 50 50 /* tiny bug: key order matters. see kbd_get_pressed_key() */ 51 51 52 { 2, KEY_PLAYBACK , 0x00000800 }, 52 53 { 2, KEY_SHOOT_FULL , 0x00000300 }, 53 { 2, KEY_SHOOT_FULL_ONLY, 0x00000200 },54 { 2, KEY_SHOOT_FULL_ONLY, 0x00000200 }, 54 55 { 2, KEY_SHOOT_HALF , 0x00000100 }, 55 { 2, KEY_UP , 0x00000080 },56 { 2, KEY_UP , 0x00000080 }, 56 57 { 2, KEY_DOWN , 0x00000040 }, 57 58 { 2, KEY_LEFT , 0x00000010 }, … … 64 65 { 0, KEY_SET , 0x00000004 }, 65 66 /* 66 { 2, KEY_PWR_PLAYBACK , 0x00000800 },67 67 { 2, KEY_PWR_SHOOT , 0x00000400 }, 68 68 { 2, KEY_BATTERY_DOOR , 0x00008000 }, -
trunk/platform/ixus120_sd940/platform_camera.h
r1794 r1968 39 39 #define CAM_HAS_ND_FILTER 1 40 40 #undef CAM_HAS_ERASE_BUTTON // Camera does not have a dedicated erase button 41 42 #define CAM_ADJUSTABLE_ALT_BUTTON 1 41 43 42 44 #define CAM_DNG_LENS_INFO { 50,10, 200,10, 28,10, 59,10 } // See comments in camera.h
Note: See TracChangeset
for help on using the changeset viewer.