Adding new cameras, applying patches into trunk (with source code prepared) - page 81 - General Discussion and Assistance - CHDK Forum supplierdeeply

Adding new cameras, applying patches into trunk (with source code prepared)

  • 1679 Replies
  • 787853 Views
*

Offline reyalp

  • ******
  • 14082
Advertisements
One more fix for the IXUS115 user defined ALT function.   Hopefully the last - its a pain not having the camera to test with.
Added, trunk changeset 2049 release changeset 2050
Don't forget what the H stands for.

ixus300/sd4000 KEY_UP + KEY_LEFT
Two more "User Defined ALT key" patches using the KEY_PLAYBACK values found by the most recent sigfinder update (thanks to philmoz & srsa_4c).

Adds adjustable ALT to the ixus300_sd4000 (replaces the existing combo key sequence) and the ixus100_sd780 (because its a twin to my SD940).

Builds but untested in camera so a quick eyeball check of the changes is probably in order.

Thanks.


« Last Edit: 05 / August / 2012, 10:12:52 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline c10ud

  • ***
  • 245
git branch: https://github.com/c10ud/CHDK/tree/fix-ixus105
diff attached to this post.

fixed a bunch of stuff in the ixus105 port, i tried briefly and i think it's ready for beta:
- fixed ui
- fixed physw task (and added adjustable alt button)
- fixed overrides, zebra, histo, etc.

known issues:
- no video overrides or similar
- wrong free space counter
- i now see sometimes it fails to startup correctly

i'll try to fix the last two asap

About the adj button: i added the key print also for the ixus120_sd940, but since it's the default ALT button and needs to be defined anyway..no big deal i guess
Code: [Select]
-#elif defined(CAMERA_ixus120_sd940)
-    static const char* names[]={ "Display", "Playback" };
-    static const int keys[] = {KEY_DISPLAY, KEY_PLAYBACK };
+#elif defined(CAMERA_ixus120_sd940) || defined(CAMERA_ixus105_sd1300)
+    static const char* names[]={ "Playback", "Display", "Playback" };
+    static const int keys[] = {KEY_PRINT, KEY_DISPLAY, KEY_PLAYBACK};

*

Offline c10ud

  • ***
  • 245
easier than i thought, diff attached, apply after the previous one

fixes for ixus105:
- wrong free space counter
- startup fail


I have finally found a little time for posting new version of EDI. I've been using this version for some time so it should be OK. Might be added to the trunk and stable release (since it now contains new Lua functions - file_browser() and textbox()).

Some bugs were fixed, some features added. Changelog in the script file.

Regards!
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick

Submitted is a medium size patch to allow adding script selections to the User Menu.  I'd like to see this added to the dev branch (although I have a patch for the current stable branch too).

Having played with tsvstar's new menu system today,  I've become convinced that this patch will still be useful & compatible.  Tsvstar's version still supports the User Menu and I think something like this might be important for user's who do not want to edit a text config file on their computer (or via the Lua text editor) and who still want to add and remove scripts from their user menu (without redefining their whole menu system).

( This takes nothing away from tsvstar's menu system - it seems to be very nice and useful to me ! )
« Last Edit: 08 / August / 2012, 20:33:02 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Update for czech files and A580.

*

Offline philmoz

  • *****
  • 3450
    • Photos
ixus300/sd4000 KEY_UP + KEY_LEFT
Two more "User Defined ALT key" patches using the KEY_PLAYBACK values found by the most recent sigfinder update (thanks to philmoz & srsa_4c).

Adds adjustable ALT to the ixus300_sd4000 (replaces the existing combo key sequence) and the ixus100_sd780 (because its a twin to my SD940).

Builds but untested in camera so a quick eyeball check of the changes is probably in order.

easier than i thought, diff attached, apply after the previous one

fixes for ixus105:
- wrong free space counter
- startup fail

I have finally found a little time for posting new version of EDI. I've been using this version for some time so it should be OK. Might be added to the trunk and stable release (since it now contains new Lua functions - file_browser() and textbox()).

Some bugs were fixed, some features added. Changelog in the script file.

Regards!

Update for czech files and A580.

Added to trunk in revision 2073 and release-1.1 in 2074.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)


*

Offline philmoz

  • *****
  • 3450
    • Photos
Submitted is a medium size patch to allow adding script selections to the User Menu.  I'd like to see this added to the dev branch (although I have a patch for the current stable branch too).

Having played with tsvstar's new menu system today,  I've become convinced that this patch will still be useful & compatible.  Tsvstar's version still supports the User Menu and I think something like this might be important for user's who do not want to edit a text config file on their computer (or via the Lua text editor) and who still want to add and remove scripts from their user menu (without redefining their whole menu system).

( This takes nothing away from tsvstar's menu system - it seems to be very nice and useful to me ! )

Added to trunk in revision 2075.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

<error - wrong thread>
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick

 

Related Topics