Android 12 Developer Preview is here! Try it out, and give us your feedback!

androidx.wear.input

Interfaces

WearableButtonsProvider A provider interface to allow WearableButtons to query for information on the device's buttons from the platform. 

Classes

DeviceWearableButtonsProvider Default implementation of WearableButtonsProvider, that reads the button locations from the platform. 
WearableButtons Class containing helpers for managing wearable buttons. 
WearableButtons.ButtonInfo Metadata for a specific button.