File size: 343 Bytes
68465df
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
/**

 * Mentra Live owns its hardware button natively only when no miniapp has an

 * active button_press subscription. Running a miniapp alone does not transfer

 * button ownership.

 */
export function shouldUseMentraLiveNativeCapture(buttonPressSubscribers: readonly string[]): boolean {
  return buttonPressSubscribers.length === 0
}