Add API to access battery power state
Done: - X11, server (tested) - Windows (developed, would be nice to retest) - OSX (not tested) Prepared (not developed): - Android (code is here, but may not compile) - iphone - winrt - bb10 - haiku - javascript
This commit is contained in:
parent
ef174abf6d
commit
94103c0c02
44 changed files with 2162 additions and 1 deletions
|
|
@ -159,6 +159,8 @@ void OS_Android::initialize(const VideoMode& p_desired,int p_video_driver,int p_
|
|||
|
||||
input = memnew( InputDefault );
|
||||
input->set_fallback_mapping("Default Android Gamepad");
|
||||
|
||||
power_manager = memnew( power_android );
|
||||
}
|
||||
|
||||
void OS_Android::set_main_loop( MainLoop * p_main_loop ) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue