Commit Graph

48 Commits

Author SHA1 Message Date
twinaphex
b4b81bd740 Split up input_common.c into two files - input_joypad.c and
input_common.c
2015-01-10 20:10:45 +01:00
twinaphex
453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
twinaphex
a43d4e74f6 (Apple) Move handle_icade_event to keyboard_event_apple.c too 2014-10-27 15:02:10 +01:00
Twinaphex
82520809d9 (Apple) Split up keyboard event code into its own file 2014-10-27 14:58:51 +01:00
twinaphex
c6ac686e51 Split up input_common.c into input_common.c and input_keymaps.c 2014-10-27 04:27:48 +01:00
Twinaphex
182180c6b9 (Apple input) Change mouse_delta[0]/mouse_delta[1] to mouse_x/mouse_y 2014-10-26 00:37:20 +02:00
twinaphex
faeca01e7a Change local index variables 2014-10-20 20:31:00 +02:00
Twinaphex
6f951a9ac1 (Apple) Rewrite apple_input_keyboard_event - already transform the
modifier events before calling the function
2014-10-18 06:33:11 +02:00
Twinaphex
945376ab2d (iOS) Add more safeguards in apple_touch_event and apple_input_keyboard
event
2014-10-07 04:15:18 +02:00
twinaphex
88dbe4ee63 (Apple) Put safeguards around input_state/button_pressed functions 2014-10-07 04:12:41 +02:00
Twinaphex
dbbfa700cb (Apple) Take out ownership of apple_input driver 2014-10-06 03:35:56 +02:00
Twinaphex
f894f7ad0d (Apple) Get rid of apple_input_get_icade_buttons 2014-10-06 02:06:10 +02:00
Twinaphex
7f0700bc5b (Apple) Use BIT32_ * macros throughout apple_input.c to prevent typos 2014-10-06 01:57:59 +02:00
Twinaphex
317c098897 Take out input_init_keyboard from apple_input_find_any_key (to be
slated for removal later entirely)
2014-10-06 00:25:33 +02:00
Twinaphex
288847fa49 Make apple_input_get_icade_buttons into static function 2014-10-05 20:45:38 +02:00
Twinaphex
242686133a (Apple) Rename keys variable to key_state 2014-10-05 20:42:17 +02:00
Twinaphex
bf7e058068 (apple_input.c) Refactor away apple_key_pressed 2014-10-05 20:40:34 +02:00
Twinaphex
c07aa7ec0a (iOS/Apple) Dehardcode some code 2014-10-04 16:34:52 +02:00
twinaphex
9bcd163b04 (Apple/Udev) Small cleanups/style nits 2014-10-04 15:14:39 +02:00
Twinaphex
7950de0460 Revert "(Apple) apple_input.c - cleanups"
This reverts commit 24f091491e.
2014-10-04 14:44:21 +02:00
twinaphex
24f091491e (Apple) apple_input.c - cleanups 2014-10-04 14:40:28 +02:00
twinaphex
0983689b60 (Apple) Remove apple_keycode_hidusage_to_name - seems to be unused right now 2014-10-03 16:03:44 +02:00
twinaphex
f4733cf1d0 (Apple) apple_input.c - cleanups 2014-10-03 16:01:43 +02:00
twinaphex
de2392be89 Move apple_key_map_hidusage over to input_common.c 2014-10-03 15:31:34 +02:00
Twinaphex
4349ef0311 (Apple) Cleanup 2014-09-30 16:56:25 +02:00
Twinaphex
9b8fb4cac5 (Apple) Reimplement apple_bind_button_pressed 2014-09-30 16:38:30 +02:00
Twinaphex
01b39fd81a (Apple) Build fix 2014-09-30 16:35:49 +02:00
twinaphex
05eb9a0af8 (Apple) apple_input.c - refactor 2014-09-30 16:34:40 +02:00
Twinaphex
1cbb290d3b (Apple) Input - cleanups 2014-09-30 15:49:26 +02:00
Twinaphex
807818d4c6 (Apple) Reimplement input - get rid of g_current_input_data global
and instead initialize driver.input_data
2014-09-30 15:44:40 +02:00
Twinaphex
f137f680c3 (Apple) Refactor apple_input_data_t 2014-09-30 15:03:22 +02:00
twinaphex
75d2e13dcb Make drivers non-const 2014-09-11 07:06:20 +02:00
Twinaphex
511f0ab075 Merge pull request #960 from lioncash/sign
apple_input: Fix a signed-unsigned mismatch warning
2014-09-09 22:08:28 +02:00
Lioncash
070d68186a apple_input: Make MAC_NATIVE_TO_HID array static. 2014-09-09 14:54:29 -04:00
Lioncash
32a191b873 apple_input: Fix a signed-unsigned mismatch warning 2014-09-09 14:49:08 -04:00
Lioncash
6b84ccdcef Make some functions static 2014-09-06 00:10:52 -04:00
twinaphex
12c0311f04 (Input) Get rid of unused devices_size 2014-08-14 00:56:40 +02:00
twinaphex
fab7792058 Get rid of set_keybinds - no longer used 2014-08-14 00:49:28 +02:00
twinaphex
b76a2c2cee Refactor away input_joypad_poll - trivial wrapper function 2014-08-03 00:44:07 +02:00
twinaphex
3f6850169d (Apple) Input cleanups 2014-06-11 14:06:24 +02:00
twinaphex
fa021197ba (Apple) Set driver.input_data_own to true for input driver for now
- until we can teardown and reinit this entire thing properly
2014-06-10 05:41:06 +02:00
twinaphex
234edda575 (Apple) Properly implement joypad - now executes init - and
also executes osx_pad_init and osx_pad_quit from joypad driver now
instead of outside code having to call it externally
2014-06-10 03:32:03 +02:00
twinaphex
72beeba8b0 (Apple) Fix OSX build 2014-05-16 23:30:43 +02:00
Twinaphex
adcbb1ba42 Merge pull request #690 from orikad/master
fixed MFi controller support
2014-05-16 18:59:48 +02:00
Ori Kadosh
16cf2a0e52 fixed MFi controller support 2014-05-16 19:57:38 +03:00
twinaphex
3a3bc7c667 (Apple) Get rid of g_polled_input_data - this previously was necessary
for the Apple port because we were running RA on two threads - one UI, one RA.
With one thread it's no longer necessary to memcpy the input data over from one
thread to the other
2014-05-13 14:25:11 +02:00
twinaphex
277b1f6702 (Apple) Input - some cleanups 2014-05-13 13:49:29 +02:00
twinaphex
1410b6937e (Apple) Move Apple input files around - rename files 2014-04-26 17:39:46 +02:00