pub const BUTTONS: [(u32, Button); 6];
The SDK’s PDButtons bits (pd_api_sys.h; shim/shim.c checks this copy against the header), each with the binding position it reports.
PDButtons
pd_api_sys.h
shim/shim.c