reticulatedpines / magiclantern_simplified

A Git based version of Magic Lantern, for those unwilling or unable to work using Mercurial. The vast majority of branches have been removed, with those thought to be important brought in individually and merged.
GNU General Public License v2.0
142 stars 50 forks source link

Ptpcam: add more canon codes #49

Closed coon42 closed 2 years ago

coon42 commented 2 years ago

Added all known PTP codes to ptpcam tool located at contrib/ptpcam, so more PTP command IDs can be shown by name when executing ptpcam -o. Also did some tiny cosmetic adjustments.

Update: Also added some Microsoft properties, so all (but one unknown property 0xD303) are displayed by name on RP when executing ptpcam -p.

Update: Also made ptpcam -o giving out the result sorted by PTP command ID as they were random before.