Python Scripting Preview 3
Pre-release
Pre-release
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_*
andset_wii_*
functions toget_wiimote_*
andset_wiimote_*
for clarity - Removed
get_wii_ircamera_transform
, but addedget_wiimote_pointer
andset_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 pressA
, 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
andConnected
(due to technical reasons, if they were useful please open an issue)