mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Expose more battery and power connection state
This commit is contained in:
@@ -29,6 +29,8 @@ Released: N/A
|
||||
* Added Joystick:hasSensor.
|
||||
* Added Joystick:isSensorEnabled and Joystick:setSensorEnabled.
|
||||
* Added Joystick:getSensorData.
|
||||
* Added Joystick:getDeviceBatteryPercent and Joystick:getDevicePowerState, these expose how charged batteries in a controller are and if they're charging
|
||||
* Added Joystick:getConnectionState which indicates if a joystick is connected wired or wireless
|
||||
* Added new Gamepad API buttons: "misc1", "paddle1", "paddle2", "paddle3", "paddle4". and "touchpad".
|
||||
* Added World:getFixturesInArea().
|
||||
* Added support for saving .exr image files via ImageData:encode.
|
||||
|
||||
Reference in New Issue
Block a user