[PR #228] [MERGED] Provide OpenPuck version and Git hash in 0xAE version report #246

Closed
opened 2026-10-22 05:08:13 +00:00 by roman · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/safijari/openpuck/pull/228
Author: @Leseratte10
Created: 8/9/2026
Status: ✅ Merged
Merged: 8/11/2026
Merged by: @safijari

Base: main ← Head: githash


📝 Commits (1)

  • ee790d9 Add OpenPuck version in 0xAE report

📊 Changes

1 file changed (+19 additions, -0 deletions)

View changed files

📝 OpenPuck/puck_hid.cpp (+19 -0)

📄 Description

The original puck has multiple different fields where it can return a version number. Field 0 and 4 return some internal version, field 1 returns the serial number on the device sticker.

Field 3 returns the first 12 characters of the GIT commit hash of the firmware the device is running, while on OpenPuck, it used to just return "NA".

I didn't want to just return the Git hash like Valve did, so there's still a distinction between an official firmware and an OpenPuck firmware.

So I tried to put a whole identification string in there - "OpenPuck 0.9.31 096e036" - and that seems to work just fine. Steam doesn't seem to be using this value anywhere, but now third-party software can detect and display the firmware type and version without having to connect to a WebUSB endpoint.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/safijari/openpuck/pull/228 **Author:** [@Leseratte10](https://github.com/Leseratte10) **Created:** 8/9/2026 **Status:** ✅ Merged **Merged:** 8/11/2026 **Merged by:** [@safijari](https://github.com/safijari) **Base:** `main` ← **Head:** `githash` --- ### 📝 Commits (1) - [`ee790d9`](https://github.com/safijari/openpuck/commit/ee790d98e515638f2c6bd33422685a9cccfc37f1) Add OpenPuck version in 0xAE report ### 📊 Changes **1 file changed** (+19 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `OpenPuck/puck_hid.cpp` (+19 -0) </details> ### 📄 Description The original puck has multiple different fields where it can return a version number. Field 0 and 4 return some internal version, field 1 returns the serial number on the device sticker. Field 3 returns the first 12 characters of the GIT commit hash of the firmware the device is running, while on OpenPuck, it used to just return "NA". I didn't want to just return the Git hash like Valve did, so there's still a distinction between an official firmware and an OpenPuck firmware. So I tried to put a whole identification string in there - "OpenPuck 0.9.31 096e036" - and that seems to work just fine. Steam doesn't seem to be using this value anywhere, but now third-party software can detect and display the firmware type and version without having to connect to a WebUSB endpoint. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
roman 2026-10-22 05:08:13 +00:00
Sign in to join this conversation.
No labels
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
safijari/openpuck#246
No description provided.