Merge: Android: extract input_events and clean up
authorJean Privat <jean@pryen.org>
Mon, 5 Jan 2015 16:14:51 +0000 (11:14 -0500)
committerJean Privat <jean@pryen.org>
Mon, 5 Jan 2015 16:14:51 +0000 (11:14 -0500)
commitf36d0bd062f3b33382b478aa69876905bab41a4c
treee2db106747a290874a5482f795e6c9d853449efb
parent2843f6a97b7c8c161ff6bc135fc8cec0c35085a9
parent7c11590b941170fb1db7d617b4ff8c4752800eb2
Merge: Android: extract input_events and clean up

Extract `input_events` from `android_app` so it is independant of the display part of Mnit. It now relies only on `mnit_input`, which will probably be kept around for Gamnit.

The extraction has been organized in three commits for easier review:
* Extract the code with minimal modifications.
* Update the style of the new module (this may be the first module that used the FFI, its style was outdated).
* Improve the doc and fix warnings in the new module.

Pull-Request: #1075
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Romain Chanoir <chanoir.romain@courrier.uqam.ca>