Mode dials and Playback pushbuttons - page 3 - General Discussion and Assistance - CHDK Forum

Mode dials and Playback pushbuttons

  • 201 Replies
  • 91723 Views
Re: Mode dials and Playback pushbuttons
« Reply #20 on: 24 / February / 2009, 18:18:48 »
Advertisements
A couple of more codes tried:
00001003 00000000 PressPBButton <--- another way to switch cam from REC to PLAY
00001001 00000000 PressRecButton <--- another way to switch cam from PLAY to REC

So, even though the A570 does not have a playback button (it has a slide switch) this works.
I cannot get it to work on the ixus75 that does have a playback button.
I will check again tomorrow.

Quote
00000878 00000001 UnpressEnjoyButton (rec and play tested)
00000877 00000000 PressEnjoyButton (rec and play tested)

What is an 'enjoy'  button ?

Quote
000010a1 00000002 ConnectVideoCable
000010a2 00000002 DisconnectVideoCable

Strange, that does blank the screen on my A620.


*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Mode dials and Playback pushbuttons
« Reply #21 on: 24 / February / 2009, 19:13:41 »
Quote
0000105e 00000002 ModeDialToC <--- a570 has no C mode... but this does make the cam go to a user settings mode, sort of. Problem is, if I try to go to Canon's func/set menu to change ISO, camera shuts down with lens out. It does let me change WB settings and browse the func/set menu. Also the large mode indicator letter in Canon's osd is a blank dark area, not C as one would expect. So C mode is partially implemented but not enough to use it.

Very similar to a710 (when camera shutdown at assert() is supressed). All controls are the same in "M" mode.

About third value in data array: some ( but not all) rules:

if "press_something"  -  0
if "unpress_something"  -  1
if "rotate_something"  -  2
if "hold_something"  -  3


*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Mode dials and Playback pushbuttons
« Reply #22 on: 24 / February / 2009, 19:16:11 »
I cannot get it to work on the ixus75 that does have a playback button.
I will check again tomorrow.

ModeLeverPlay, ModeLeverMovieRec, ModeLeverStillRec ?

Re: Mode dials and Playback pushbuttons
« Reply #23 on: 25 / February / 2009, 19:00:51 »
0x607C+0x4C for SX100

Where does the 0x4C come from ?

Have not tried any cameras with playback pushbuttons yet.

Re: Mode dials and Playback pushbuttons
« Reply #24 on: 04 / March / 2009, 07:22:12 »
0x2348 for a570
0x607C+0x4C for SX100


have you tried this on the SX100, does it work  ?


David

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Mode dials and Playback pushbuttons
« Reply #25 on: 04 / March / 2009, 07:45:37 »
have you tried this on the SX100?

No, I returned SX100 to its owner.

Just from comparing '_DecideModeDial' subroutines from a710 (sub_FFD9CE8C) and sx100 (sub_FFC6593C for 1.00C).
But sx100 may not require a change in this variable (like a570).

Re: Mode dials and Playback pushbuttons
« Reply #26 on: 04 / March / 2009, 08:36:27 »
Just from comparing '_DecideModeDial' subroutines from a710 (sub_FFD9CE8C) and sx100 (sub_FFC6593C for 1.00C).

Sure, I found that  :-

ADR     R1, a_decidemodedia ; "_DecideModeDial"
MOV     R0, #0x20
BL      sub_FFC59F58
LDR     R5, =0x607C
MOV     R4, #0
STR     R4, [R5,#0xC]
LDR     R0, [R5,#0x1C]
CMP     R0, #0
LDMNEFD SP!, {R4-R8,PC}
BL      sub_FFD3AF44

There is the 0x607C, where is the 0x4C offset ?


Quote
But sx100 may not require a change in this variable (like a570).


Hmmm .. that would mean testing a lot of cameras.

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Mode dials and Playback pushbuttons
« Reply #27 on: 04 / March / 2009, 08:54:56 »
Ok, here is a710:

ROM:FFD9CE8C                 STMFD   SP!, {R4-R6,LR}
ROM:FFD9CE90                 MOV     R0, #0x20       
ROM:FFD9CE94                 MOV     R4, R1         
ROM:FFD9CE98                 LDR     R1, =a_decidemodedia
ROM:FFD9CE9C                 BL      PutsCameraLog   
ROM:FFD9CEA0                 LDR     R3, =0x71E8     
ROM:FFD9CEA4                 LDR     R2, [R3]       
ROM:FFD9CEA8                 LDR     R1, =0x71D8 
ROM:FFD9CEAC                 MOV     R3, #0         
ROM:FFD9CEB0                 CMP     R2, #0         
ROM:FFD9CEB4                 STR     R3, [R1]       
ROM:FFD9CEB8                 LDMNEFD SP!, {R4-R6,PC}
ROM:FFD9CEBC                 LDR     R2, =0x722C     
ROM:FFD9CEC0                 LDR     R3, [R2]       
ROM:FFD9CEC4                 CMP     R3, R4       

And SX100:

ROM:FFC6593C                 STMFD   SP!, {R4-R8,LR}
ROM:FFC65940                 MOV     R6, R1         
ROM:FFC65944                 ADR     R1, a_decidemodedial
ROM:FFC65948                 MOV     R0, #0x20     
ROM:FFC6594C                 BL      PutsCameraLog 
ROM:FFC65950                 LDR     R5, =0x607C     
ROM:FFC65954                 MOV     R4, #0         
ROM:FFC65958                 STR     R4, [R5,#0xC] 
ROM:FFC6595C                 LDR     R0, [R5,#0x1C]
ROM:FFC65960                 CMP     R0, #0         
ROM:FFC65964                 LDMNEFD SP!, {R4-R8,PC}
ROM:FFC65968                 BL      sub_FFD3AF44   
ROM:FFC6596C                 CMP     R0, #0         
ROM:FFC65970                 LDMNEFD SP!, {R4-R8,PC}
ROM:FFC65974                 LDR     R0, [R5,#0x4C
ROM:FFC65978                 CMP     R0, R6         
 
edit:
Quote
Hmmm .. that would mean testing a lot of cameras.

Asking users about something - a nightmare for the developer  :).

« Last Edit: 04 / March / 2009, 09:35:54 by ewavr »

Re: Mode dials and Playback pushbuttons
« Reply #28 on: 04 / March / 2009, 09:45:31 »

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Mode dials and Playback pushbuttons
« Reply #29 on: 04 / March / 2009, 10:13:23 »
« Last Edit: 04 / March / 2009, 10:15:29 by ewavr »

 

Related Topics


SimplePortal © 2008-2014, SimplePortal