Skip to content

Python Scripting Preview 3

Pre-release
Pre-release
Compare
Choose a tag to compare
@Felk Felk released this 24 Sep 11:06
· 99 commits to master since this release

This release contains some breaking changes, mostly in the controller module.

  • Updated codebase to newest upstream, which includes a new "input override" system that made many new additions possible. Thanks @JosJuice!
  • Updated embedded Python to 3.11
  • Updated and improved Python stubs. Thanks @Avasam!
  • Renamed existing get_wii_* and set_wii_* functions to get_wiimote_* and set_wiimote_* for clarity
  • Removed get_wii_ircamera_transform, but added get_wiimote_pointer and set_wiimote_pointer
  • Added get/set_wiimote_acceleration, get/set_wiimote_angular_velocity, get/set_wii_classic_buttons, get/set_wii_nunchuk_buttons, get/set_wii_nunchuk_acceleration, get/set_gba_buttons
  • Individual inputs can now be controlled, e.g. set_gba_buttons(0, {"A": True}) to only press A, leaving all buttons omitted in the dictionary in their current state. Previously all omitted buttons would put the button in its "default" state (usually "unpressed")
  • Gamecube inputs no longer contain AnalogA, AnalogB and Connected (due to technical reasons, if they were useful please open an issue)