Autechre
80e0114ccf
Move collect_system_input to input_driver.c ( #13183 )
2021-11-03 16:48:57 +01:00
gblues
1ef78d3e3d
Any pad can control the menu ( #13173 )
...
* Any pad can control the menu
== DETAILS
I am not sure I've quite got it so that any pad can *open* the
menu, but I do have it so any pad can control it.
- split out the input processing into a separate method
- track down and squish some hairy bugs that boiled down to
bad pointer math
- it looks like `menu_driver.c` has a mix of line endings, so I
ran it through `dos2unix` so it has consistent line endings
again.
- verified that this change did not impact actual cores
* optimize out cumulative_bits
* Incorporate PR feedback
Many thanks to @jdgleaver for providing these optimizations.
* apply one more optimization
2021-11-03 16:32:15 +01:00
twinaphex
1dc77507a8
Fix command stdin - courtesy of Cthulhu
2021-10-19 22:23:07 +02:00
Autechre
514534f99b
Move more state to runloop_state ( #13124 )
...
* Move more state to runloop state
* remove unused variable
* Cleanup
* Move more state to runloop_state
* Remove unused variable
* Cleanups
* move input_remapping functions over to input_driver.c
* Some buildfixes
2021-10-18 15:23:22 +02:00
twinaphex
9184d0e114
Move hid_data to input_st
2021-10-15 16:31:31 +02:00
twinaphex
f070da6dfc
Move code to menu_driver.c and input_driver.c
2021-10-13 15:40:01 +02:00
Autechre
0a888f7868
Move video state to gfx/video_driver.c - reduces filesize of retroarch.c to 809kb ( #13104 )
...
* Move video state to gfx/video_driver.c - reduces filesize of retroarch.c
to 809Kb
2021-10-13 14:56:22 +02:00
twinaphex
3d710db798
input_state_wrapper symbol name was causing collisions with certain
...
cores on statically linked platforms
2021-10-08 12:50:45 +02:00
twinaphex
e39bc07e31
Fix implicit declaration
2021-10-08 06:57:37 +02:00
twinaphex
61ee2274e6
Move more code over to input_driver.c - BSV code in particular but
...
also input state function callbacks - retroarch.c code size reduced
to 874Kb
2021-10-06 05:57:39 +02:00
Nathan Strong
5da1cd08ff
Unify the HID driver architecture
...
== DETAILS
When I first implemented the Wii U HID architecture, I ended up
having to design my own implementation because, at the time, I did
not have a way to read the HID device string to allow the existing
code to successfully detect the gamepad.
After spending some time experimenting, I've figured out how to
do this. And that means I can better align the HID driver with other
platforms.
change summary:
- create a single state structure for all three sub-types of wiiu pads
(kpad, wpad, and hid)
- eliminate confusing duplicate pad lists
- eliminate confusing duplicate HID pad drivers (ds3, gamecube
adapter, etc)
- ensure the ds3 driver still works
2021-10-05 09:23:08 -07:00
Nathan Strong
9edb449471
wip commit
2021-10-05 09:10:41 -07:00
twinaphex
fde3406d1b
Get rid of input_event_get_osk_ptr/get_osk_grid
2021-10-01 07:37:33 +02:00
Autechre
8807e2957e
Input refactors pt3 ( #13053 )
...
* Move more internal state over to input_driver.c and menu_driver.c -
retroarch.c now down to 893kb
- Remove now unused p_rarch pointers in functions
2021-10-01 07:18:30 +02:00
twinaphex
e9a4e811ac
Move more code and variables from rarch_state out to input_driver
...
and menu_driver
2021-10-01 00:41:50 +02:00
twinaphex
12c81bc073
Replace input_state_get_ptr call
2021-09-30 21:31:37 +02:00
twinaphex
dbe414e1e1
move input_poll_overlay to input_driver.c
2021-09-30 21:29:35 +02:00
twinaphex
ddceb51f89
Get rid of some needless getters/setters
2021-09-30 21:10:12 +02:00
twinaphex
ef875f6102
Create input_state_get_ptr - move to input_driver.c -
...
also moved over the functions that had a dependence on this
state - retroarch.c reduced to 979kb now
2021-09-30 20:54:56 +02:00
Ben Hamilton (Ben Gertzfield)
1970786932
New feature: Use gamepad combo to quit Retroarch ( #13017 )
...
* Refactor menu toggle combo button logic to allow quit combo button
* Quit gamepad combo
* Fixes from @jdgleaver
2021-09-24 18:30:46 +02:00
twinaphex
d2af43d457
Cleanups
2021-09-20 21:08:53 +02:00
twinaphex
eb895f9947
move more code out of retroarch.c
2021-09-18 21:14:15 +02:00
twinaphex
90775e7306
Silence warnings/errors
2021-09-13 20:30:22 +02:00
twinaphex
3c69a941da
Move code over to input_driver.c
2021-09-13 18:33:53 +02:00
twinaphex
ad4b51b903
Move cde from retroarch.c to input_driver.c
2021-09-12 19:27:12 +02:00
twinaphex
b5138b6122
Move input_config_get_bind_string to input_driver.c
2021-09-12 17:41:00 +02:00
twinaphex
6c79cebc6e
Move input_overlay_auto_rotate_ out of retroarch.c and into
...
input_driver.c
2021-09-09 14:24:42 +02:00
twinaphex
81e7dab159
Move code out of retroarch.c and into input_driver.c
2021-09-09 14:11:46 +02:00
Michael Burgardt
303d17e2e6
Rebase 'Add generic rumble gain to input settings' by davidgfnet
2021-09-08 19:52:32 +02:00
twinaphex
c9e587a5a7
Move more input code over to input_driver.c from retroarch.c
2021-09-07 14:55:37 +02:00
twinaphex
276b4fd72c
Move more code over from retroarch.c to input_driver.c
2021-09-07 13:08:31 +02:00
twinaphex
67defbcf26
Transfer code over from retroarch.c to input_driver.c
2021-09-07 12:42:03 +02:00
twinaphex
3a78b46862
Move code to input_driver.c
2021-09-07 10:17:06 +02:00
twinaphex
722166cb15
Move functions from retroarch.c to input_driver.c
2021-09-07 07:11:42 +02:00
twinaphex
7c665702a8
Move input_driver_toggle_button_combo to input_driver.c
2021-09-07 06:50:18 +02:00
twinaphex
0194ce91bf
Get rid of getters/setters in big driver files from now
2021-08-26 13:27:44 +02:00
Mark W. Kidd
5f834a8cb3
input_driver refactor
2021-08-19 20:02:39 -04:00
Autechre
ae327a769b
Revert "input refactoring: create input_driver.c"
2021-08-18 18:45:53 +02:00
Mark W. Kidd
5a8920c862
input_driver refactor
2021-08-17 08:56:29 -04:00
twinaphex
b9c33713b4
Merge input_driver.c with retroarch.c
2019-06-17 18:59:56 +02:00
twinaphex
ce51cf6b33
Simplify BSV code
2019-06-17 02:23:06 +02:00
twinaphex
db87e050d5
Merge movie.c into retroarch.c
2019-06-16 16:52:48 +02:00
twinaphex
8bb74d0776
Added new hotkey AI Service and added requested
...
variables for OCR
2019-06-06 03:41:40 +02:00
twinaphex
4c3e0d44b8
Revert "Start using string_is_equal_memcmp and"
...
This reverts commit 26d6aee1eb
.
2019-04-29 04:04:33 +02:00
twinaphex
26d6aee1eb
Start using string_is_equal_memcmp and
...
string_is_equal_memcmp_fast
2019-04-28 17:23:11 +02:00
twinaphex
b41384a0d0
(input_driver) Cleanups
2019-04-22 00:05:12 +02:00
twinaphex
b0b1b0b782
(input_driver) Cleanup
2019-04-21 16:57:35 +02:00
twinaphex
8165b43170
(input_driver) Further simplifications
2019-04-21 16:30:12 +02:00
twinaphex
7ae0c6b2c1
(input_driver.c) Simplifications
2019-04-21 16:19:48 +02:00
twinaphex
8312d67a11
(input_driver.c) Further simplifications
2019-04-21 16:13:11 +02:00
twinaphex
b6fd875230
(input_driver.c) Simplifications
2019-04-21 15:48:56 +02:00
twinaphex
f6fec009d2
input_config_get_prefix becomes static function
2019-04-21 07:56:20 +02:00
twinaphex
a79eec8698
(input_driver.c) Cleanup
2019-04-21 07:46:52 +02:00
twinaphex
af2805406d
Move more functionality to input_driver.c ; make more functions static
2019-04-21 07:30:14 +02:00
twinaphex
270e95bc97
Turn a lot of input_config_parse functions static
2019-04-21 06:42:13 +02:00
Brad Parker
e0b59f13e2
no analog/sensitivity correction for analog buttons
2019-04-09 23:17:11 -04:00
Brad Parker
8639018976
use proper scaled radial deadzone calculation
2019-03-29 14:07:35 -04:00
Brad Parker
e7891b8c1a
add analog deadzone and sensitivity options, rename axis threshold
2019-03-25 23:22:19 -04:00
Brad Parker
19ced73596
add hotkey to toggle netplay hosting
2019-03-09 17:48:03 -05:00
Brad Parker
4bb81bbb1b
add F10 hotkey to send debug info, fix F3 hotkey for FPS toggle when inside menu
2019-03-09 16:03:17 -05:00
Brad Parker
10df615d14
add "Send Debug Info" option under Help
2019-03-07 19:17:54 -05:00
twinaphex
ebae7ebc79
Input driver - Get rid of 'own driver' mechanism
2019-02-27 17:17:34 +01:00
twinaphex
1daaf7385c
9PS2) Silence some warnings
2019-02-14 07:20:44 +01:00
Twinaphex
cb596aec3a
Merge pull request #7820 from meepingsnesroms/master
...
Buttons are only 16 bits so only use uint16_t to prevent wasting 6 bytes
2019-01-13 04:55:34 +01:00
twinaphex
c98b2e2292
Buildfixes and more static code analysis warning fixes
2019-01-10 22:24:43 +01:00
twinaphex
b9ff2e4de1
Fix some static code analysis warnings from MSVC 2017
2019-01-10 21:47:15 +01:00
Twinaphex
40997473ed
Merge branch 'master' into orbis2
2019-01-08 20:18:08 +01:00
orbea
bfc366decc
Squeeze extra blank lines with cat(1).
...
Example:
find . -type f -iname '*.c' | while read -r i; do
cat -s "$i" > "$i.new"
mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
Francisco José García García
4ad083cb97
[ORBIS] Update input driver
2018-12-30 14:00:18 +01:00
Francisco José García García
9c5a934529
[ORBIS] Untested input driver
2018-12-30 01:29:34 +01:00
krzys-h
f6c8a0c5c2
Add UWP input driver
...
Keyboard, mouse and touch support: done
2018-12-28 22:09:30 +01:00
krzys-h
b201d669b5
First iteration of UWP support
...
Enough to kind of run
Working drivers: xinput, d3d11
Still missing: input driver with keyboard support, audio driver
2018-12-28 22:09:22 +01:00
meepingsnesroms
a6f097c873
Buttons are only 16 bits so only use uint16_t to prevent wasting 6 bytes
2018-12-25 14:33:43 -08:00
jdgleaver
f68d756af3
(RGUI) Add user index label to control menu entries
2018-12-19 12:19:29 +00:00
Tatsuya79
d52b38eadc
Add FPS counter hotkey.
2018-11-29 13:12:11 +01:00
Tatsuya79
1e5192462e
Analog stick to trigger remap functionality.
2018-11-10 17:27:14 +01:00
Francisco Javier Trujillo Mata
fc9cd8f639
JoyPad implemented
2018-11-09 22:40:50 +01:00
Francisco Javier Trujillo Mata
8a0266cf8d
PS2 Input looks to be ready
2018-11-09 22:40:50 +01:00
Francisco Javier Trujillo Mata
0880bd00b0
PS2 is compiling with null drivers
2018-11-09 22:40:50 +01:00
Stuart Carnie
5c1075127b
chore(metal): Separate legacy GL and Metal source
...
* Forks of Cocoa / Cocoa Touch to *_metal.* version
* Reverted original GL Cocoa / Cocoa Touch versions
* GL and Metal projects still build
2018-11-04 20:50:50 -07:00
twinaphex
cb8148878c
Add hotkeys for 'Toggle Recording' / 'Toggle Streaming'
2018-09-18 08:52:09 +02:00
radius
1c85058e72
[recording] rename bsv recording from movie to input replay
2018-09-15 21:47:23 -05:00
Gregor Richards
af357c1afe
Fix input when the joypad driver is NULL.
2018-06-01 23:22:04 -04:00
Twinaphex
909ffd4de4
Update input_driver.c
2018-05-03 15:28:26 +02:00
twinaphex
28025802da
Try to fix build failure
2018-05-03 13:11:38 +02:00
radius
7bdbd005a8
fix #6700
2018-05-02 23:32:40 -05:00
twinaphex
eac899f573
Try to fix build for targets that don't have HAvE_OVERLAY defined
2018-05-02 13:52:27 +02:00
radius
3304dad729
fix #6631
2018-05-01 18:09:04 -05:00
Brad Parker
a1aefc901c
Qt WIMP GUI
2018-04-30 14:33:05 -04:00
gblues
fb5b31faf3
Merge branch 'master' into gblues/hid
2018-04-14 14:18:03 -07:00
twinaphex
0fb766b921
Move variables
2018-04-09 16:15:31 +02:00
twinaphex
be5057eafc
Cleanups
2018-04-09 00:38:44 +02:00
twinaphex
a5c7b79842
Move BIT256_CLEAR_ALL_PTR outside of function
2018-04-09 00:34:07 +02:00
twinaphex
7b5a0bf706
Move clear operation outside of keys_pressed functions
2018-04-09 00:31:03 +02:00
radius
968c692a04
remap-redux: allow the menu to display manual keybinds
2018-04-08 14:50:30 -05:00
twinaphex
1dd73f86b7
Simplify this code somewhat
2018-04-08 21:45:10 +02:00
twinaphex
24b694d674
Grab joypad_driver only once
2018-04-08 21:07:04 +02:00
twinaphex
30090db941
Simplify input_get_state_for_port for analogs
2018-04-08 21:04:42 +02:00
twinaphex
0ed69fd170
Simplify input_state analog code remapping somewhat
2018-04-08 20:49:02 +02:00
twinaphex
a82bb0ec94
Create special type input_bits_t
2018-04-08 20:21:12 +02:00
radius
72065aee0b
remap-redux part2: analog to analog input rules are working for left stick to left stick and left stick to right, for some reason not for right stick to right
...
stick
(inverting axes) or right stick to left...
2018-04-08 12:13:50 -05:00
radius
c608951ff8
remap-redux part2:
...
- remapping analogs to buttons works 100%
- remapping to analogs needs the "new input rules written" based on the value and the new axis
2018-04-08 12:13:50 -05:00
radius
0ed9f05571
remap-redux part2:
...
- remapping analogs to buttons works 100%
- remapping analogs to other analogs still messed up for some reason
- need to reset input of the original axis in input_driver.c still
2018-04-08 12:13:49 -05:00
radius
3792a5e502
remap-redux part2: cleanup
2018-04-08 12:13:49 -05:00
radius
fa3dfd5f63
remap-redux part2: finally user 2 mapping works!
2018-04-08 12:13:48 -05:00
radius
1fa28f0e31
remap-redux part2: let's use this function instead, add logging
2018-04-08 12:13:47 -05:00
radius
d8d22a9c40
remap-redux part2: simplify this code a bit, still not working
2018-04-08 12:13:47 -05:00
radius
e42e79db28
remap-redux part2: rename variable
2018-04-08 12:13:47 -05:00
radius
e130afff73
remap-redux part2: cleanup
2018-04-08 12:13:46 -05:00
radius
5efba1c257
remap-redux part2: better wraparound, skip analogs, add RARCH_UNMAPPED
2018-04-08 12:13:46 -05:00
radius
be2c648596
remap-redux part2: after 60 attempsts, new mapper works, N:1 mapping too
2018-04-08 12:13:43 -05:00
radius
7f5fe5ebff
remap-redux part 2: add controller sublabel
2018-04-08 12:13:43 -05:00
gblues
9bc5a15c2d
Enable pads to register in any order
...
== DETAILS
Whereas the last commit had a hack (that disabled the wiimote
driver in the process), this has.. well, a *different* hack that
allows pads to register in any order.
Note that due to the initialization routines, the gamepad will still
likely always get slot 0. Not sure if this can be overridden via config
or not.
== TESTING
Tested locally with GC adapter
2018-04-01 18:52:26 -07:00
gblues
0100d58ffb
WIP: evolve driver implementation
...
== DETAILS
I've created the concept of a hid_driver_instance_t which is basically
a central place to store the hid pad driver, hid subsystem driver,
the pad list, and the instance data for the above in a central location.
The HID pad device drivers can use it to perform HID operations in a
generic manner.
This is more-or-less a pause point so I can catch up with upstream.
== TESTING
Haven't tested this yet. Compiles without warnings though!
2018-03-29 23:37:11 -07:00
Ryunam
c5775fd73c
Implement Slow motion toggle
2018-03-10 18:42:45 +01:00
twinaphex
5139241e87
Fix Python codepath
2018-02-19 09:11:33 +01:00
Twinaphex
4a6a97be60
Merge pull request #5429 from GregorR/netplay-input-upgrades-1
...
Netplay input upgrades 1
2018-01-23 05:01:45 +01:00
twinaphex
61ff51be2f
Start using string_is_equal predominantly
2018-01-16 22:53:38 +01:00
Toad King
21d928ba0e
add joypad driver for emscripten
2018-01-14 00:15:30 -06:00
twinaphex
7cbe4ba9a8
Turn some variables static
2018-01-12 01:37:23 +01:00
radius
3b334b60d6
add display name and config name to autoconf
2018-01-11 17:06:14 -05:00
Gregor Richards
8d5a79fc69
Removing long-obsolete now-disfunctional "netplay flip players" feature
2018-01-05 14:27:02 -05:00
twinaphex
b464014a51
C89_BUILD fixes
2017-12-31 03:27:55 +01:00
gblues
65c177a0ee
Move HID driver into wiiu/ code
...
== DETAILS
RetroArch's general HID drivers are intended as a full-on substitute for
other input drivers such as XInput, DInput, SDL, etc. The Wii U port is,
to my knowledge, the first case of heterogenous input drivers working
concurrently.
As such, I've moved things around:
- The HID driver source is moved into the wiiu/input/ directory alongside
the joypad subdrivers.
- We no longer use the input_hid_init_first() method to instantiate; instead
we just init the wiiu HID driver directly.
- The HID pad driver and HID subsystem driver enjoy a tighter coupling,
mainly having to do with the initialization of the joypad connections
list, because there's no way to inform the HID driver's init() method
how many slots to allocate.
== TESTING
Will test in a moment, but at least it compiles cleanly. ;)
2017-12-30 04:43:38 +01:00
gblues
1beba28d02
Only call HIDSetup/HidTeardown once
...
== DETAILS
I did a minimalist edit of the HID thread that stripped out all
HID* syscalls, and this stopped the crashing. I then re-added just
the HIDSetup() and HIDTeardown() calls, and the crash came back.
This smells like an OS bug. To work around it, I've put the
HIDSetup() and HIDTeardown() calls into the app init/shutdown
section, so they only get called once in the application lifetime
and not each time the input driver is initialized.
2017-12-30 04:40:15 +01:00
Nathan Strong
e80d99dbae
Delete controller_patcher; start on proper HID driver
...
== DETAILS
We discovered that the controller_patcher code was causing
the WiiU to intermittently crash when switching ROMs.
Changes:
- Completely extricates the controller_patcher code
- Create a skeleton wiiu_hid driver
- Wire up the build system to build/link it successfully
== TESTING
Has not been tested. Probably doesn't crash, since the
skeleton driver is just a copy of the null driver.
2017-12-30 04:38:57 +01:00
twinaphex
d49b7b28b6
input_poll - cleanup
2017-12-29 23:12:35 +01:00
twinaphex
a6afddae04
current_input_data and current_input are no longer globals
2017-12-29 23:03:25 +01:00
misson20000
6d2a7b1f26
Nintendo Switch (libtransistor) port
2017-12-29 00:10:01 +01:00
twinaphex
95e807749d
Simplification/cleanup
2017-12-18 07:09:44 +01:00
twinaphex
422ce9396c
Cleanup - input_key_pressed
2017-12-18 06:14:48 +01:00
twinaphex
69f85556a3
Get rid of meta_key_pressed
2017-12-18 05:59:57 +01:00
twinaphex
7b210ccf37
Don't call meta key pressed if not bound
2017-12-18 05:49:17 +01:00
twinaphex
1978689dcb
Rewrite input_keys_pressed_iterate
2017-12-18 05:22:45 +01:00
twinaphex
9b9cf7b036
Cleanups
2017-12-18 05:13:57 +01:00
twinaphex
3c5d2f047c
Create input_keys_pressed_iterate
2017-12-18 05:09:16 +01:00
gblues
6904101c44
Clean up trailing whitespace
...
== DETAILS
Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
Monroe88
cfde6a44db
input_driver: Map Delete key to Y button for non-unified menu keyboard controls
2017-12-09 14:17:54 -06:00
David Walters
609bcb4dc2
fix device indexing
2017-12-05 22:03:56 +00:00
David Walters
0d189ae067
Don't limit available input devices to user count.
2017-12-05 21:21:29 +00:00
twinaphex
f0c143766e
Change to 256bit macros
2017-12-05 12:07:35 +01:00
twinaphex
e94300a581
Get rid of a lot of RARCH_INPUT_STATE_BIT_ macros - replace them
...
with BIT128_ equivalents instead
2017-12-05 09:22:56 +01:00
neville
43f6a03110
(OSX PPC) Buildfixes
2017-12-04 02:59:06 +01:00
twinaphex
cdf1d9a417
Indent nits
2017-11-27 03:53:46 +01:00
Twinaphex
d93b9ebf4d
Silence warning
2017-11-27 03:53:25 +01:00
twinaphex
dfebea9109
Cleanups
2017-11-26 22:58:36 +01:00
twinaphex
00d57af005
C89_BUILD fixes
2017-11-26 22:53:42 +01:00
twinaphex
e35394d4bd
Fix MSVC 2003 build
2017-11-26 22:41:34 +01:00
David Walters
dbd9bf3b46
New lightgun binds
2017-11-26 16:59:48 +00:00
David Walters
c733f96a16
listen for mouse buttons/wheel when binding input
2017-11-26 15:42:47 +00:00
David Walters
59812e9509
include mouse buttons in block hotkey check
2017-11-26 13:23:39 +00:00
David Walters
25efae0630
Show mbutton binds on settings list; comma separate joy and key bins
2017-11-26 11:56:02 +00:00
David Walters
1d70fef70c
load/save mbutton assignments to retroarch config
2017-11-26 11:54:10 +00:00
David Walters
b3a53ac8ca
Show "---" for unbound controls, not "(Key: )"
2017-11-24 21:36:49 +00:00
Twinaphex
45fb685375
Merge pull request #5762 from hiddenasbestos/extend_input_bits
...
Extend input bind limit to 256
2017-11-24 14:48:53 +01:00
David Walters
5be7921445
reimplement using retro_bits_t; pass by ref; raise bind limit to 256
2017-11-24 11:19:17 +00:00
twinaphex
7ac5eda1e1
Rewrite input_mapper code - no longer have an internal pointer
...
inside input_mapper
2017-11-24 02:37:53 +01:00
David Walters
b0e383d5f0
Extend input bind limit to 128
2017-11-23 23:04:09 +00:00
David Walters
795057bacf
Support for RETRO_DEVICE_INDEX_ANALOG_BUTTON
2017-11-17 22:46:23 +00:00
twinaphex
c68db61188
Silence more Clang warnings
2017-10-11 22:49:13 +02:00
twinaphex
fcf6228dce
Turn into char pointer array
2017-09-27 20:11:44 +02:00
twinaphex
b79f95668b
Turn it into char pointer array
2017-09-27 20:08:37 +02:00
radius
551d85630e
android build fixes
2017-09-11 00:21:48 -05:00
radius
9abbf47a8d
fix defaults
2017-09-11 00:21:47 -05:00
radius
cd72bd1bb4
implement keymapper
2017-09-11 00:20:21 -05:00
radius
fe8a0657b4
add input_mapper scafolding
2017-09-11 00:20:20 -05:00
twinaphex
3b26263126
Cleanup input_config_get_prefix
2017-09-08 06:28:40 +02:00
twinaphex
d6bcc45bb8
Reduce size of input_bind_map member variables
2017-09-08 06:11:19 +02:00
twinaphex
c3bb76a05e
Try to reduce variable sizes
2017-09-08 05:58:48 +02:00
twinaphex
24dc35d97b
Cleanups
2017-08-31 12:17:06 +02:00
twinaphex
44a1a429c8
Change type of pid/vid to uint16_t
2017-08-31 12:14:27 +02:00
twinaphex
e16371b8a5
Merge input_config.c and input_driver.c
2017-08-31 02:25:04 +02:00
twinaphex
914acd3956
Revert "Get rid of some warnings"
...
This reverts commit 3d45ba29d8
.
2017-06-18 20:02:50 +02:00
twinaphex
b134c5d23c
Revert "Set joypad_info.axis_threshold only once"
...
This reverts commit 605d877279
.
2017-06-18 20:01:48 +02:00
twinaphex
605d877279
Set joypad_info.axis_threshold only once
2017-06-18 19:56:31 +02:00
twinaphex
3d45ba29d8
Get rid of some warnings
2017-06-18 19:47:40 +02:00
twinaphex
895c817fa5
ifdef this
2017-06-11 19:56:14 +02:00
twinaphex
5e0e970c92
Cleanups
2017-06-11 19:48:40 +02:00
Brad Parker
42e56c8432
fix all_users_control_menu logic
2017-06-11 12:28:47 -04:00
twinaphex
0751cb238d
Add HAVE_HID ifdefs
2017-06-11 18:12:38 +02:00
twinaphex
060753258a
Combine input_driver.c and input_keyboard.c
2017-06-11 17:51:12 +02:00
twinaphex
5081d03194
Cleanups
2017-06-11 16:26:27 +02:00
twinaphex
7e9cb39519
Use BIT64_SET
2017-06-11 16:24:24 +02:00
twinaphex
612cb54cfe
Merge input_hid_driver
2017-06-11 08:56:36 +02:00
twinaphex
5d78c2209f
Remove obsolete header
2017-06-06 08:30:01 +02:00
twinaphex
efdfb29d50
Turn input_joypad_is_pressed into static inline function
2017-06-06 08:12:53 +02:00
twinaphex
7685f93d00
input_menu_keys_pressed - don't use input_joypad_pressed
2017-06-06 07:59:41 +02:00
twinaphex
6b3dbff75f
Merge input_driver.c and input_joypad_driver.c
2017-06-06 05:56:02 +02:00
twinaphex
4f678dfdfc
Cleanups
2017-05-25 15:04:55 +02:00
Brad Parker
a04b54006d
win32: disable winraw input driver for targets older than XP
2017-05-23 21:03:00 -04:00
twinaphex
80b5bcd16c
Cut down on some code duplication
2017-05-24 02:02:01 +02:00
Twinaphex
79d35d158a
Use variable
2017-05-22 14:16:48 +02:00
twinaphex
98a3d80e71
Cleanups
2017-05-22 13:57:13 +02:00
twinaphex
ec79d8c46a
Cleanups - don't keep setting joypad_info members needlessly - do
...
it once
2017-05-22 12:49:12 +02:00
twinaphex
371c3e56de
Get rid of empty function
2017-05-22 12:43:50 +02:00
twinaphex
10df6d3b54
Rewrite pressed functions
2017-05-22 12:40:19 +02:00
twinaphex
f62490b14f
Don't have inline static functions
2017-05-22 12:34:34 +02:00
twinaphex
d48ec2a9e6
Turn conditional into else if
2017-05-22 12:24:23 +02:00
twinaphex
d78e1da956
Cut down on code duplication
2017-05-22 12:21:11 +02:00
twinaphex
e7d3f36a22
Call input_driver_pressed_keys_internal only once
2017-05-22 12:15:20 +02:00