def setup_device_buttons(self): repeat = RepeatComponent(self) repeat.set_shift_button(self._shift_button)