Something went wrong. Try again.
Opensource firmware for NRF52840 Pro Micro that copycats the Steam Controller 2 Puck and adds an Xbox and Switch mode
Something went wrong. Try again.
1234567891011121314151617// identity.h -- device identity derived from the nRF52 FICR DEVICEID.//// A UNIQUE serial (never clashes with a real puck) is generated at boot. Steam mode reports g_unit as its// USB serial (its pairing identity); the other modes append a 1-char suffix (setup() in OpenPuck.ino).#pragma once#include <stdint.h>
extern char g_unit[16]; // "FXB99602xxxxx"extern char g_board[16]; // "MXB99602xxxxx"extern char g_usbSerial [18]; // per-mode USB serial (Steam uses g_unit; others get a suffix)
// 0x83 attributes, returned by the puck feature command channel.extern const uint8_t ATTR83[25];
void genSerial();