401 Commits

Author SHA1 Message Date
Themaister
e4e0d9c72d Reset driver.* handles on driver reinit. 2012-12-25 00:01:06 +01:00
twinaphex
f00c0311d3 (Android) Add more JNI macros 2012-12-24 22:15:01 +01:00
twinaphex
2ee5efc4a1 (Android) Orientation change now done in a stable way without freeing/
reiniting the video driver again
2012-12-24 20:17:16 +01:00
twinaphex
e8a57f21cd (Android) Fix - restore state functionality broke again due to
'refactor' in driver.c - this does not work for re-entrancy - please
consult with me
2012-12-24 18:06:51 +01:00
twinaphex
70b5007a1e (Android) Wrapping all JNI usage seems impractical - settle for
a JNI helper header file instead
2012-12-24 17:22:57 +01:00
twinaphex
bacad2f05a (Android) Some more JNI refactors - more coming up 2012-12-24 16:14:38 +01:00
twinaphex
480e36000e (Android/Phoenix) remove remnants 2012-12-24 15:23:06 +01:00
twinaphex
e5e58912c1 (Android) Input - small nit changes 2012-12-24 15:05:59 +01:00
twinaphex
8f86172e3f (Android) Smaller 'overlay next' button for basic overlay
(Android) Mouse can be used to control overlay now too - is crash-prone
though after too many mouse clicks - reason unknown right now
2012-12-24 14:08:50 +01:00
twinaphex
eb6937a7bd (Android) JNI wrapper - check some more for exceptions 2012-12-24 12:53:50 +01:00
twinaphex
b03f5d8c4b (Android) Motion events now use correct pointer for event instead
of always pointer 0
2012-12-24 12:30:05 +01:00
twinaphex
8f6b5ab793 (Android) JNI - add safety checks 2012-12-24 11:26:38 +01:00
Themaister
35bf5c82c1 Make OVERLAY optional. 2012-12-23 18:39:01 +01:00
twinaphex
7116118051 Remove remnants of HAVE_CONFIGFILE 2012-12-23 18:16:33 +01:00
twinaphex
ad8d09f754 (Android) Add a lot of actions to quick menu overlay 2012-12-23 17:51:32 +01:00
twinaphex
97ab249625 (Android) Overlay next button should work now along with other
overlay state inputs
2012-12-23 15:29:54 +01:00
twinaphex
269698661a (Console/Android) Simplify input_key_pressed implementation 2012-12-23 14:44:46 +01:00
twinaphex
e58ca0b95b (Android) Refactor JNI code
(Android) Change overlay PNGs to TGAs - add 256x256 quickmenu
texture - change basic_overlay.cfg coords
2012-12-23 14:25:28 +01:00
twinaphex
04cabb0996 (Android) refactor JNI code - still can't load ClassLoader 2012-12-23 13:16:58 +01:00
twinaphex
18bf8e2a16 (Android) Refactor JNI code 2012-12-23 07:30:15 +01:00
twinaphex
26c59ef649 (Android) Added autoconfiguration of Wiimote/Nunchuk/Wiimote - for
use with free Wii IME app from C.C.P. Cre@ions
2012-12-22 09:44:56 +01:00
twinaphex
7431bd5d22 (Android) Add more control schemes for USB gamepads 2012-12-22 07:13:32 +01:00
Toad King
ff3ec9f8a5 (Android) minor cleanup 2012-12-21 19:00:18 -05:00
Toad King
462adce111 (Android) touch input fixes 2012-12-21 18:32:53 -05:00
twinaphex
75b36e6ba0 (Android) Tried with condition flag - still doesn't work 2012-12-21 08:08:50 +01:00
twinaphex
0df2eff66b (Android) Some input refactors 2012-12-21 04:14:47 +01:00
twinaphex
29ef7dc4ed (Android) Initial implementation of input overlay key input code -
not working yet due to need to determine whether or not touchscreen
is pressed in input_state_pressed
2012-12-21 01:31:01 +01:00
twinaphex
456593ddb1 (Android) Add way to tell where the event is coming from 2012-12-20 23:57:46 +01:00
twinaphex
909c392094 (Android) Build fix for building with input debug 2012-12-20 23:01:48 +01:00
twinaphex
92e5036eb6 Disable onLowMemory callback - after this has executed, it would
call Dalvik's garbage collector - definitely want to avoid that
2012-12-20 13:25:09 +01:00
twinaphex
3273ccb5d6 (Android) Add preDispatchEvent 2012-12-19 00:55:39 +01:00
twinaphex
60dd07364e (Android) Fix build 2012-12-18 20:56:33 +01:00
twinaphex
1c0fc0e65e (Android) Pack the LUT entries so that we can store eight 8-bit
values in them - this will allow for custom LUTs per controller
2012-12-18 18:56:16 +01:00
twinaphex
1564d04a1e Get rid of doubly #ifdef in retroarch.c 2012-12-18 07:46:40 +01:00
twinaphex
2e5f21db60 (Android) Do window ready checking differently 2012-12-18 06:01:56 +01:00
twinaphex
3570ba80d2 (Android) Move Android-specific pause functionality outside of
rarch_main_iterate
2012-12-18 03:18:53 +01:00
twinaphex
0210f8f72f (Android) Last input tweak for today 2012-12-17 20:53:36 +01:00
twinaphex
918052f5ba (Android) Rewrite activity_paused logic 2012-12-17 20:07:08 +01:00
twinaphex
74ae6ecf57 (Android) Better deinit - will now deinit RetroArch and save game
RAM if you forcibly stop RetroArch
2012-12-17 18:45:26 +01:00
twinaphex
cd1ddbb9c7 (Android) Better restore state functionality 2012-12-17 17:58:08 +01:00
twinaphex
dca1175854 (Android) Add performance counters for input poll 2012-12-16 17:13:49 +01:00
twinaphex
22f5f67522 (Android) Use AMotionEvent_getPointerCount() > 0 2012-12-16 16:35:49 +01:00
twinaphex
3eabba50f9 (Android) Onscreen input debugging 2012-12-16 15:46:53 +01:00
twinaphex
5f46f80b20 Revert "(Android) Simplify default binds - reduce code"
This reverts commit 68ab7e03726810a9660200f742de8b69102ce240.
2012-12-16 06:54:49 +01:00
twinaphex
68ab7e0372 (Android) Simplify default binds - reduce code 2012-12-16 06:26:12 +01:00
twinaphex
ae089a7b58 (Android) Make logging optional 2012-12-16 04:13:31 +01:00
twinaphex
c54d4a6955 (Android) Volume keys work again with new input code - most
bound keyboard shortcuts should work now
2012-12-16 03:03:44 +01:00
twinaphex
cf539edf91 (Android) android_input_poll now only reads and processes input
events - check_window polls for system messages once
2012-12-16 02:04:13 +01:00
twinaphex
7076685a1e (Android) First check if an event is in the event queue before
'getting' it
2012-12-16 00:08:30 +01:00
twinaphex
224eaab902 (Android) Input - only do motion event if type is of 'key down' 2012-12-15 23:05:21 +01:00