Commit Graph

38479 Commits

Author SHA1 Message Date
twinaphex
0c3283574d Add deferred hooks for netplay submenu 2017-06-08 00:11:00 +02:00
twinaphex
ab087faa2a Try to move access call to maybe prevent 'time of check time of use'
coverity error
2017-06-07 23:29:29 +02:00
twinaphex
5c84f9158e Try to prevent out-of-bounds write 2017-06-07 23:03:08 +02:00
twinaphex
a371815efd Try to null-terminate string 2017-06-07 22:47:07 +02:00
twinaphex
eb5bf9451d (psp_joypad.c) Cleanups 2017-06-07 22:34:37 +02:00
twinaphex
c711749973 (iohidmanager_hid.c) Cleanups 2017-06-07 21:14:34 +02:00
twinaphex
4a5593255f (android_joypad.c) Small cleanup 2017-06-07 21:10:06 +02:00
twinaphex
5ef8b69c9c (wiiu_input.c) Minor style nits 2017-06-07 21:06:24 +02:00
twinaphex
dfcbd77a6b (ctr/wiiu) Minor stylistic nits 2017-06-07 21:04:13 +02:00
twinaphex
afa07219cd (linuxraw_joypad.c) Cleanups 2017-06-07 20:58:46 +02:00
twinaphex
f9061ca931 Simplify udev_joypad_button 2017-06-07 20:48:33 +02:00
twinaphex
9a471d0ef4 Simplify udev_joypad.c 2017-06-07 20:44:14 +02:00
Twinaphex
c7036b24d4 Merge pull request #5038 from RobLoach/patch-11
[DB] Update RDB building to ignore missing keys
2017-06-07 19:54:00 +02:00
Twinaphex
0cbe5164b4 Merge pull request #5039 from shizeeg/keypadfix
[INPUT]: KP0, KP1, KP2, KP3 keys don't work on GNU/Linux fixes issue #5034
2017-06-07 19:53:31 +02:00
sh!zeeg
5887c46e08 [INPUT]: fix KP0, KP1, KP2, KP3 keys on GNU/Linux 2017-06-07 19:52:20 +03:00
Rob Loach
11f8938f7e Update RDB building to ignore missing keys
This change makes it so that when building the RDB files, the entries that are missing `serial` keys will simply be ignored and the RDB file will still build. When it's missing the key, it also logs which line it's processing so that we can easily fix the broken entry in libretro-database.
2017-06-07 10:43:56 -04:00
Jean-André Santoni
0dd2304e7c Merge pull request #5037 from casdevel/udev-drm
Fix DRM/KMS keyboard handling
2017-06-07 13:29:22 +02:00
Zoran Vuckovic
ceca89e104 Fix DRM/KMS keyboard handling 2017-06-07 12:25:10 +02:00
twinaphex
6c81007eb9 Should hopefully fix scanning of PS1 games 2017-06-07 11:12:11 +02:00
Twinaphex
803ae53372 Merge pull request #5036 from GregorR/netplay-disconnection-forwarding
Handle forwarding of netplay state demotions correctly.
2017-06-07 03:54:13 +02:00
twinaphex
f6c2d97ed5 Don't do these constant checks 2017-06-07 03:41:36 +02:00
Gregor Richards
fb3c35dc9f Handle forwarding of netplay state demotions correctly.
Netplay state demotions, i.e. changes from playing to spectating or
disconnected states, could cause chain disconnections of all other
clients. This was due to a bug in when MODE change messages were sent.
Clients rely on the server sending all messages in its own order, and as
a consequence, the server typically holds messages for retransmission
until they can be retransmitted at the correct time. MODE messages were
not held, so could be sent early. When they were sent early, this caused
other clients to panic and disconnect.

A smaller but much stupider secondary bug was also fixed, in which the
first connection could be dropped due simply to writing connections[0]
instead of connections[i] somewhere.
2017-06-06 21:35:09 -04:00
twinaphex
b610d034ae (sinc_resampler.c) Cut down on ifdef party 2017-06-07 03:09:23 +02:00
twinaphex
34b5d0025b Get rid of implicit declaration warnings 2017-06-07 03:02:50 +02:00
twinaphex
486660471e (Android) Buildfix 2017-06-07 03:01:00 +02:00
twinaphex
d9e6cbb065 Simplifications to SDL input driver 2017-06-07 01:45:09 +02:00
twinaphex
59c3f8b06e Cleanups 2017-06-07 01:19:44 +02:00
twinaphex
603d4d0464 (udev/x11) Simplifications 2017-06-07 01:17:55 +02:00
twinaphex
9e93bdbe27 (linuxraw_input.c) simplifications 2017-06-07 01:12:35 +02:00
Twinaphex
3dede6d71a OSX buildfix 2017-06-07 00:35:11 +02:00
twinaphex
c3f5c499f3 Simplify cocoa_input 2017-06-07 00:33:03 +02:00
twinaphex
afd6a2bec5 Cleanups 2017-06-07 00:10:39 +02:00
twinaphex
604a558382 Get rid of input_wl_is_pressed 2017-06-07 00:09:31 +02:00
twinaphex
deb804ab2f (x11_input.c) get rid of this inline function 2017-06-06 23:50:51 +02:00
twinaphex
c7b45aaf80 warning fix for C89_BUILD 2017-06-06 23:22:20 +02:00
twinaphex
3d61c7fdfc MSVC buildfix 2017-06-06 23:19:07 +02:00
Twinaphex
b148ae8092 Merge pull request #5035 from flibitijibibo/master
[SDL2] Fix joypad info for SDL_GameController devices
2017-06-06 22:34:47 +02:00
Ethan Lee
bf20021338 [SDL2] Fix joypad info for SDL_GameController devices 2017-06-06 16:16:44 -04:00
twinaphex
3443153ccc (DRM/KMS) If we have the X11 input driver selected, default to udev and/or
linuxraw driver instead
2017-06-06 21:15:32 +02:00
twinaphex
96bfb35e0b Set default input driver to x - udev can be hit/miss on some
people's configurations
2017-06-06 21:04:15 +02:00
Twinaphex
89fe5625cb Merge pull request #5031 from casdevel/winraw
Add L/R virtual keys handling
2017-06-06 18:44:49 +02:00
Zoran Vuckovic
d88b76c26f Add L/R virtual keys handling 2017-06-06 13:50:41 +02:00
Twinaphex
829392398e Merge pull request #5030 from blackgur/master
Update msg_hash_ru.h
2017-06-06 10:20:58 +02:00
twinaphex
f5225a479e (task_database_cue.c) Use string_is_equal instead 2017-06-06 10:20:34 +02:00
blackgur
d479bd0e1e Update msg_hash_ru.h 2017-06-06 11:15:54 +03:00
twinaphex
3d54afdc1b Change to string_is_equal 2017-06-06 09:46:13 +02:00
twinaphex
1d65222051 No longer need linux/input.h header 2017-06-06 08:31:41 +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