Commit Graph

226 Commits

Author SHA1 Message Date
twinaphex 0f8f980c8f Start reimplementing Zarch joypad input 2016-02-26 22:29:10 +01:00
twinaphex f1a572822b Create RARCH_DISPLAY_CTL_VIEWPORT_INFO 2016-02-14 05:42:27 +01:00
twinaphex 6d8ee1f8d4 Remove input_driver_data_ptr_is_same 2016-02-13 07:40:02 +01:00
twinaphex 016ee293cd Remove input_driver_grab_mouse 2016-02-13 07:38:09 +01:00
twinaphex 24bafd7ab9 Create RARCH_INPUT_CTL_GRAB_MOUSE 2016-02-13 07:36:45 +01:00
twinaphex ac31eeb360 Cleanups 2016-02-13 07:29:02 +01:00
twinaphex 3393a32547 Cleanup 2016-02-13 07:27:22 +01:00
twinaphex 954c5a86f6 Add rarch_cmd_ctl 2016-02-13 07:19:21 +01:00
twinaphex 3a6484d0ad Change input_driver_ctl default return values 2016-02-11 01:44:39 +01:00
twinaphex e86bd1b021 Cleanups 2016-02-09 05:11:40 +01:00
Twinaphex 9c9fdcfa58 (iOS 9) Fix iOS 9 build 2016-02-04 20:17:26 +01:00
twinaphex 12e453c29a Set these static variables initially to NULL 2016-02-04 20:02:50 +01:00
twinaphex 2cbb18b4e4 Create RARCH_DRIVER_CTL_FIND_INDEX 2016-02-01 13:15:53 +01:00
twinaphex b0ec812de6 Create two new BSV_MOVIE_CTL_* actions 2016-01-30 03:25:47 +01:00
twinaphex 347a18cb30 Update input headers 2016-01-10 04:33:01 +01:00
Twinaphex cecfdeb0cf Buildfix 2016-01-08 07:16:25 +01:00
twinaphex c779a1cf8f Move libretro_input_binds updating to input_poll 2016-01-08 06:39:23 +01:00
twinaphex 41fc41e170 (input_driver.c) Cleanups 2015-12-10 12:54:56 +01:00
twinaphex 4727ddb52d Create RARCH_INPUT_CTL_KEY_PRESSED 2015-12-10 12:47:36 +01:00
twinaphex decbffd25b Refine RARCH_INPUT_CTL_DEINIT 2015-12-09 19:43:04 +01:00
Higor Eurípedes ee06d36735 (input_driver) Get rid of dangling pointer 2015-12-06 13:56:20 -03:00
twinaphex 015986fea4 RARCH_INPUT_CTL - Make sure all static local variables are set
back to default state
2015-12-06 17:19:12 +01:00
twinaphex fd07b5c689 (input_driver.c) Don't destroy input driver data during
RARCH_INPUT_CTL_DESTROY
2015-12-04 15:15:57 +01:00
twinaphex 351077dc78 Start reimplementing audio/video/input driver deiniting 2015-12-04 14:30:59 +01:00
twinaphex 67518b3c6c Move input_driver_block_hotkey to input_driver_ctl as static
local variable
2015-12-04 08:24:43 +01:00
twinaphex 24285d1167 Move input_driver_block_libretro_input to input_driver_ctl
as static local variable
2015-12-04 08:15:39 +01:00
twinaphex 2582898a28 (input_driver.c) Nit 2015-12-04 02:50:29 +01:00
twinaphex 4eeada75b1 (input_driver.c) Turn some static variables into local static variables 2015-12-04 02:50:05 +01:00
twinaphex f1a0068dc7 Move bsv global state to movie.c 2015-12-01 01:47:26 +01:00
twinaphex d05ed635c6 Start rewriting bsv movie code so that global->bsv.movie is
only accessed inside movie.c
2015-12-01 01:20:22 +01:00
twinaphex a6d8d28895 Create more BSV_MOVIE_CTL_* enums 2015-12-01 00:16:48 +01:00
twinaphex 5d9e6bca60 Move bsv movie code to movie.c 2015-12-01 00:04:04 +01:00
twinaphex 22d64ae3dc move driver->remote and driver->command to input_driver.c 2015-11-30 23:06:47 +01:00
twinaphex 0b24618cd5 Move driver->command to input_driver.c 2015-11-30 22:56:41 +01:00
twinaphex 41916b123f Optimize check_input_driver_block_hotkey 2015-11-30 08:32:30 +01:00
twinaphex 88d0b94ab2 input_poll - do direct poll call 2015-11-30 08:15:54 +01:00
twinaphex 63bce5fd5a (input_driver.c) Uniquely namespace static variables 2015-11-30 07:36:27 +01:00
twinaphex 871713dd9d Move driver->keyboard_linefeed_enable to input_driver.c 2015-11-30 03:23:35 +01:00
twinaphex d4e88324ac Move driver->osk_enable to input_driver.c 2015-11-30 03:14:26 +01:00
twinaphex 805735c958 (input_driver.c) Cleanups 2015-11-29 22:43:12 +01:00
twinaphex df9f0fc6d1 Move input_data_own to input_driver.c 2015-11-29 20:34:35 +01:00
twinaphex d181870caa No more dependency on driver_t for driver->input 2015-11-29 19:18:59 +01:00
twinaphex 7a6f444823 No more references to driver->input from outside 2015-11-29 19:07:02 +01:00
twinaphex c96312ad04 input_keys_pressed - cleanup 2015-11-29 19:01:10 +01:00
twinaphex 83ba8f0545 (input_driver.c) Cleanups 2015-11-29 18:59:49 +01:00
twinaphex 5e1b2b3bfa Move driver->input_data to input_driver.c 2015-11-29 18:18:25 +01:00
twinaphex 1c867cedf0 Move nonblock_state to input_driver.c (NOTE: we probably need
to relocate this later on)
2015-11-29 17:53:11 +01:00
twinaphex e8d6e48a74 Remove unused variables 2015-11-29 17:34:31 +01:00
twinaphex 6fd6288337 Move block_libretro_input to input_driver.c 2015-11-29 17:33:29 +01:00
twinaphex 253649b0cf Move flushing_input to input_driver.c 2015-11-29 17:23:30 +01:00
twinaphex 23d63d0b5a Move block_hotkey to input_driver.c 2015-11-29 17:12:38 +01:00
twinaphex 178e52bca5 Move turbo_btns to input_driver.c 2015-11-29 17:10:03 +01:00
twinaphex 9a743ec357 Create input_driver_key_pressed 2015-11-29 16:45:38 +01:00
twinaphex 3b903adea1 Don't try to access driver->input_data from outside 2015-11-28 18:26:05 +01:00
twinaphex be71e654f3 Create input_driver_get_data_ptr 2015-11-28 18:22:05 +01:00
twinaphex ed71129ee6 Create RARCH_INPUT_CTL_HAS_CAPABILITIES 2015-11-28 17:54:50 +01:00
twinaphex 28e035ec6b Move functiosn around 2015-11-28 02:09:11 +01:00
radius 9312b1fe33 merge with upstream 2015-11-27 18:20:35 -05:00
twinaphex cb98cbc1bf Create RARCH_INPUT_CTL_POLL 2015-11-25 20:39:46 +01:00
twinaphex 77e4faf5ea Move code around 2015-11-25 18:53:54 +01:00
twinaphex 9643edfac7 Create RARCH_INPUT_CTL_DESTROY 2015-11-25 18:49:37 +01:00
twinaphex 73ce9c0d23 Add another RARCH_INPUT_CTL_* command 2015-11-25 18:33:18 +01:00
twinaphex 92c0907e80 Create more RARCH_INPUT_CTL_* commands 2015-11-25 18:29:28 +01:00
twinaphex 14b2b8ada7 Start creating input_driver_ctl 2015-11-25 18:21:21 +01:00
twinaphex 08ae9df639 Merge input_sensor.c with input_driver.c 2015-11-25 03:29:18 +01:00
twinaphex c9db73e944 Contain driver->input_data usage pt. 2 2015-11-25 03:25:31 +01:00
twinaphex d2f771440b Contain driver->input_data usage 2015-11-25 03:15:22 +01:00
twinaphex f04f4c89c8 Turn another function static 2015-11-24 02:18:41 +01:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
Twinaphex 57e8cfe1f9 Totally reimplemented MFi support 2015-11-16 02:39:38 +01:00
twinaphex 22f85b11df Don't need this anymore 2015-11-07 20:59:12 +01:00
twinaphex e2ced6bd6a Don't need this additional code anymore 2015-11-07 20:47:29 +01:00
twinaphex db5d8d248b Create new char_list_new_special 2015-10-26 19:41:20 +01:00
twinaphex b9febe2eed Add void pointer to string_list_special_new 2015-10-26 19:16:20 +01:00
twinaphex 0116ea5ba5 More code deduplication 2015-10-26 08:59:23 +01:00
twinaphex 02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
twinaphex 6512e95945 Pass device input mask to menu_input_frame 2015-10-22 19:34:25 +02:00
twinaphex 1a20e19c51 We will now be able to know from which input device type the input
event comes from - i.e. keyboard or gamepad
2015-10-22 19:17:47 +02:00
twinaphex e182f32d8c Header cleanups 2015-09-05 20:03:27 +02:00
twinaphex ded8920a65 Cleanups 2015-09-04 21:13:12 +02:00
Alcaro ee2ad0c4bd These aren't executable. 2015-08-12 01:31:03 +02:00
radius 828734e007 don't try to autoconfigure GPIO devices 2015-08-11 17:13:25 -05:00
twinaphex ff3e791d72 (Vita) Compile in input and joypad drivers 2015-08-10 23:19:07 +02:00
twinaphex 450c665619 Create meta_key_pressed 2015-07-17 03:31:51 +02:00
twinaphex 8162b77bae Whitelist menu_toggle key 2015-07-17 03:12:52 +02:00
twinaphex a2af5252c1 Get rid of input_driver_key_pressed 2015-07-17 03:09:12 +02:00
twinaphex f1d8f98c90 Refinement on earlier revert 2015-07-17 02:59:03 +02:00
twinaphex 63582f83b1 Revert "Optimize input_driver_keys_pressed and make it possible to"
This reverts commit 5d87c697bb.
2015-07-17 02:58:26 +02:00
twinaphex 117fd48f15 Get rid of some superfluous wrapper functions 2015-07-12 11:14:41 +02:00
twinaphex b908b1083b (input_driver.c) small micro-opts 2015-07-12 09:28:24 +02:00
twinaphex 5d87c697bb Optimize input_driver_keys_pressed and make it possible to
pass more 'keys' to the input key pressed callback than just
the standard buttons
2015-07-12 09:08:27 +02:00
twinaphex 135ee2f503 Use UINT64_C(1) everywhere instead of 1ULL 2015-07-12 07:53:46 +02:00
twinaphex 86e7f34666 Create input_overlay_key_pressed 2015-07-12 06:54:35 +02:00
twinaphex 0107be2485 (GX) Refactor controls 2015-07-12 01:58:43 +02:00
twinaphex 6e63f562ea (D3D) Buildfix 2015-07-11 19:47:20 +02:00
twinaphex e2d510e4f6 (GX) No longer depend on global pointer in input driver 2015-07-10 18:44:11 +02:00
twinaphex b6609d576b Build fixes when HAVE_OVERLAY is not defined 2015-07-10 18:37:25 +02:00
twinaphex cdf3ce309e Decouple 'overlay' state from driver_t 2015-07-09 01:10:30 +02:00
twinaphex 0e046c2fbb Create input_driver_keyboard_mapping_is_blocked/input_driver_keyboard_mapping_set_block 2015-06-19 03:45:23 +02:00
twinaphex 3a7263020a Add grab_stdin function pointer to input driver - avoids threading
segfault at exit with linuxraw input driver to do with driver->stdin_claimed
2015-05-19 19:33:58 +02:00
twinaphex ff6babc22a (Android) Start using android_main_poll 2015-05-02 07:06:57 +02:00
twinaphex 8702141d90 (Cocoa) Start renaming input_apple to input_cocoa 2015-04-19 17:58:15 +02:00
twinaphex 8c6cce3945 Rename rarch_joypad_driver_t to input_device_driver_t 2015-04-14 16:37:59 +02:00
twinaphex 341579f7b6 (input_driver.c) Cleanups 2015-04-11 08:17:55 +02:00
twinaphex 3eed6fd464 (input_driver.c) Cleanups/refactors 2015-04-11 08:14:45 +02:00
aliaspider 2045cee432 preliminary 3DS port. 2015-04-01 22:14:13 +01:00
twinaphex 91b03d914d (input_driver.c) Cleanups 2015-03-24 08:35:55 +01:00
twinaphex 30a0e99972 (Input) Implement function pointers 'set_rumble' and 'grab_mouse'
always to prevent conditional checks
2015-03-24 07:51:50 +01:00
twinaphex 3b87f5bb69 Fix input_driver_state 2015-03-24 05:59:01 +01:00
twinaphex d6981c3aad Cleanups 2015-03-23 07:34:18 +01:00
twinaphex f5b2b8fdf7 Create input_driver_free 2015-03-23 07:15:41 +01:00
twinaphex 95664b038e Create input_driver_init 2015-03-23 07:07:28 +01:00
twinaphex 0d164162fc Create input_driver_grab_mouse 2015-03-23 04:31:11 +01:00
twinaphex 5f8407e16c Use input_driver_get_capabilities 2015-03-23 04:18:27 +01:00
twinaphex d9ba52e018 Create input_driver_get_joypad_driver 2015-03-23 03:40:09 +01:00
twinaphex c274ab94a0 Create input_driver_key_pressed 2015-03-23 03:22:57 +01:00
twinaphex 71e927020c Create input_driver_poll 2015-03-23 03:17:43 +01:00
twinaphex db1087ad33 Create input_driver_state 2015-03-23 03:04:05 +01:00
twinaphex e996d5d51f Updates 2015-03-20 21:22:38 +01:00
twinaphex 3670ef2ac5 Go through driver_get_ptr to grab pointer to driver struct 2015-03-18 19:40:00 +01:00
twinaphex 207181135c Create input_driver_keys_pressed 2015-02-15 01:19:06 +01:00
twinaphex 0cc50ed4ea (input_driver.c) Cleanups in config_get_input_driver_options 2015-01-30 07:45:14 +01:00
twinaphex 3ec9005c5c Move set_rumble function to input/input_driver.c 2015-01-19 04:16:43 +01:00
twinaphex 26ab324727 (OSX 10.6) Fix declaration shadows global variable warnings 2015-01-15 21:10:36 +01:00
twinaphex 6cdaa4e282 (MSVC) Build fixes 2015-01-12 22:47:12 +01:00
twinaphex 487c5f58de Move input_driver.c to input/ 2015-01-12 18:39:27 +01:00