Question about kbd.cBelow is the keymap section of kbd.c from this camera.The camera has a video button which is not shown here. Why not?It also has an erase (delete) button, which is commented out. Why?.JonCode: [Select]static KeyMap keymap[] = { // Order IS important. kbd_get_pressed_key will walk down this table // and take the first matching mask. Notice that KEY_SHOOT_HALF is // always pressed if KEY_SHOOT_FULL is. --MarcusSt //{ 0, KEY_FLASH , 0x80000000 }, { 2, KEY_MENU , 0x00002000 }, { 2, KEY_UP , 0x00000100 }, { 2, KEY_DOWN , 0x00000200 }, { 2, KEY_LEFT , 0x00000800 }, { 2, KEY_RIGHT , 0x00000400 }, { 2, KEY_SET , 0x00001000 }, // { 1, KEY_FACE , 0x10000000 }, { 2, KEY_PRINT , 0x00005000 }, // SET+DISP //{ 2, KEY_ERASE , 0x00008000 }, { 2, KEY_DISPLAY , 0x00004000 }, { 1, KEY_ZOOM_IN , 0x00004000 }, { 1, KEY_ZOOM_OUT , 0x00008000 }, { 1, KEY_SHOOT_FULL, 0x00003000 }, { 1, KEY_SHOOT_FULL_ONLY, 0x00002000 }, { 1, KEY_SHOOT_HALF, 0x00001000 }, { 0, 0, 0 }};
static KeyMap keymap[] = { // Order IS important. kbd_get_pressed_key will walk down this table // and take the first matching mask. Notice that KEY_SHOOT_HALF is // always pressed if KEY_SHOOT_FULL is. --MarcusSt //{ 0, KEY_FLASH , 0x80000000 }, { 2, KEY_MENU , 0x00002000 }, { 2, KEY_UP , 0x00000100 }, { 2, KEY_DOWN , 0x00000200 }, { 2, KEY_LEFT , 0x00000800 }, { 2, KEY_RIGHT , 0x00000400 }, { 2, KEY_SET , 0x00001000 }, // { 1, KEY_FACE , 0x10000000 }, { 2, KEY_PRINT , 0x00005000 }, // SET+DISP //{ 2, KEY_ERASE , 0x00008000 }, { 2, KEY_DISPLAY , 0x00004000 }, { 1, KEY_ZOOM_IN , 0x00004000 }, { 1, KEY_ZOOM_OUT , 0x00008000 }, { 1, KEY_SHOOT_FULL, 0x00003000 }, { 1, KEY_SHOOT_FULL_ONLY, 0x00002000 }, { 1, KEY_SHOOT_HALF, 0x00001000 }, { 0, 0, 0 }};
Probably because whoever did the original port copied it from another camera and did not come back and verify / update it (like the DNG settings).If you can confirm the values for the erase and video buttons I can update SVN.Phil.
I can confirm the following: { 2, KEY_PLAYBACK , 0x00000040 }, { 2, KEY_VIDEO , 0x00000010 }, { 2, KEY_ERASE , 0x00008000 },JonQuote from: philmoz on 22 / January / 2012, 23:58:13Probably because whoever did the original port copied it from another camera and did not come back and verify / update it (like the DNG settings).If you can confirm the values for the erase and video buttons I can update SVN.Phil.
Hi,I noticed this in platform_camera.h: #define CAM_DRYOS_2_3_R39 1 #define CAM_DRYOS_2_3_R47 1 // Defined for cameras with DryOS version R47 or higher So which is it? I have an 8gb card that I tried to boot this camera off of without success. Wondering if it is possible. Maybe I just screwed up something.Jon
Hi,These are the steps I followed:Low level format the card in the cameraCopy the latest CHDK build (1630) for SX150 onto the camera.Turn on the camera in play modeGo to the firm update menu item.Get a "Update File Error!!!"Maybe the PS.FI2 file is wrong on the 1630 build?Jon
Started by pizzicat Firmware Dumping
Started by hiker_jon General Discussion and Assistance
Started by slyth999 General Discussion and Assistance
Started by gtoonstra « 1 2 ... 5 6 » General Discussion and Assistance
Started by rdx1968 General Help and Assistance on using CHDK stable releases