diff --git a/docs/badge/application-programming.rst b/docs/badge/application-programming.rst index 785d599a651b996eb89342c726f6f1f4a291557d..4d1d5e0bbf05ab82d4f393d4859191ec3ba973f3 100644 --- a/docs/badge/application-programming.rst +++ b/docs/badge/application-programming.rst @@ -368,7 +368,7 @@ Here is our previous example rewritten to make use of `BaseView`: def think(self, ins: InputState, delta_ms: int) -> None: super().think(ins, delta_ms) # Let BaseView do its thing - if self.input.right_shoulder.middle.pressed: + if self.input.buttons.app.middle.pressed: self.vm.push(SecondScreen()) st3m.run.run_view(Example()) @@ -419,7 +419,7 @@ Here is our previous code changed to use `Application` for the base of its main def think(self, ins: InputState, delta_ms: int) -> None: super().think(ins, delta_ms) # Let Application do its thing - if self.input.right_shoulder.middle.pressed: + if self.input.buttons.app.middle.pressed: self.vm.push(SecondScreen()) if __name__ == '__main__':