Skip to content

USB Camera: Use vendor/product, not serial, like pretixPRINT, to avoid permission issues#16

Merged
raphaelm merged 2 commits intomainfrom
usb-bug
Mar 15, 2024
Merged

USB Camera: Use vendor/product, not serial, like pretixPRINT, to avoid permission issues#16
raphaelm merged 2 commits intomainfrom
usb-bug

Conversation

@raphaelm
Copy link
Copy Markdown
Member

No description provided.

@robbi5
Copy link
Copy Markdown
Contributor

robbi5 commented Mar 14, 2024

Integer.toHexString results in vendor/device-ids with missing leading zeros, thats why we have pretix/pretixprint-android#63 open in pretixPRINT.
Maybe we want to go here directly with ${String.format("%04x", device.vendorId)}:${String.format("%04x", device.productId)} :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants