Skip to content

Commit

Permalink
Consolidate vendor-specific props begins with vendor:
Browse files Browse the repository at this point in the history
  • Loading branch information
baku89 committed Oct 6, 2023
1 parent 6c836e2 commit bd7bd29
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/TethrPTPUSB/TethrSigma.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1963,14 +1963,14 @@ export class TethrSigma extends TethrPTPUSB {
[0x05, 'incandescent'],
[0x06, 'fluorescent'],
[0x07, 'flash'],
[0x08, 'custom'], // Custom 1
[0x08, 'vendor:custom'], // Custom 1
// [0x09, null], // CustomCapture 1
[0x0a, 'custom2'], // Custom 2
[0x0a, 'vendor:custom2'], // Custom 2
// [0x0b, null], // CustomCapture 2
[0x0c, 'custom3'], // Custom 3
[0x0c, 'vendor:custom3'], // Custom 3
// // [0x0d, null], // CustomCapture 3
[0x0e, 'manual'], // Custom Temperature
[0x0f, 'auto ambience'], // Auto (Light Source Priority)
[0x0f, 'vendor:auto ambience'], // Auto (Light Source Priority)
])

private whiteBalanceTableIFD = new Map<number, WhiteBalance>([
Expand Down
7 changes: 3 additions & 4 deletions src/configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export type ExposureMode =
| 'portrait'
| 'video'
| `C${1 | 2 | 3}`
| `vendor ${string}`
| `vendor:${string}`

export type FlashMode =
| 'auto'
Expand Down Expand Up @@ -65,9 +65,8 @@ export type WhiteBalance =
| 'tungsten'
| 'flash'
| 'underwater'
| `manual${'' | 2 | 3 | 4}`
| `custom${'' | 2 | 3 | 4}`
| `vendor ${string}`
| 'manual'
| `vendor:${string}`

export type ConfigType = {
aperture: Aperture // fNumber
Expand Down

0 comments on commit bd7bd29

Please sign in to comment.