one loop for all button in physical device