Commit Graph

35942 Commits

Author SHA1 Message Date
Brad Parker
177d811475 GDI driver partially visible with RGUI/game now, need to figure out why it isn't totally visible. Also need to stretch the frame, swap red/blue and flip vertically. 2017-01-16 20:41:05 -05:00
Brad Parker
dd2778fb32 GDI text testing 2017-01-16 20:41:05 -05:00
Brad Parker
49d7be9813 MSVC GDI buildfix 2017-01-16 20:41:05 -05:00
Brad Parker
6df175bd31 GDI paint test 2017-01-16 20:41:05 -05:00
Brad Parker
bc8f9f7f3f add SwapBuffers() for gdi 2017-01-16 20:41:05 -05:00
Brad Parker
fb7c3f4c37 set pixel format for GDI driver 2017-01-16 20:41:05 -05:00
Brad Parker
33520fca6f set win32_hdc for gdi 2017-01-16 20:41:05 -05:00
Brad Parker
a7a1f093c0 add GDI message loop 2017-01-16 20:41:04 -05:00
Brad Parker
2c6a24653c testing 2017-01-16 20:41:04 -05:00
Brad Parker
e6d7116da0 create GDI window 2017-01-16 20:41:04 -05:00
Brad Parker
05c37bd39f initial GDI driver skeleton 2017-01-16 20:41:04 -05:00
Brad Parker
c283c1eaf4 disable shader dialog until video_threaded issues are fixed 2017-01-16 19:26:28 -05:00
Jean-André Santoni
a9c3837cdb Display image thumbnail in the menu background selector 2017-01-17 01:02:48 +01:00
twinaphex
aae2b2a276 (ui_win32.c) Further cleanups 2017-01-17 00:59:29 +01:00
twinaphex
864df4f55d Move local variable 2017-01-16 23:38:46 +01:00
twinaphex
1709b6889f (ui_win32.c) Use stdstring.c 2017-01-16 23:32:28 +01:00
twinaphex
1f3409dba8 (ui_win32.c) Some minor cleanups 2017-01-16 23:27:55 +01:00
Brad Parker
57e5af6461 update JP translation 2017-01-16 16:42:48 -05:00
twinaphex
b3642df33f (ui_cocoa.m) Cleanups 2017-01-16 22:34:36 +01:00
twinaphex
0b1a204949 Roll this back 2017-01-16 22:32:39 +01:00
twinaphex
8958e02b54 Don't invoke this at beginning of function 2017-01-16 22:17:44 +01:00
twinaphex
cb64f28950 Create drivers_init 2017-01-16 22:04:57 +01:00
twinaphex
d519ad7017 (input_config.c) Move variable 2017-01-16 21:36:04 +01:00
twinaphex
1c82287e10 (video_state_tracker.c) Don't need header include 2017-01-16 21:33:25 +01:00
twinaphex
f96ee3e6d6 (menu) cleanups; move variables 2017-01-16 21:31:30 +01:00
Brad Parker
99508cfd64 allow --disable-vulkan on Windows 2017-01-16 15:08:05 -05:00
Twinaphex
8aba35ef00 Merge pull request #4432 from aliaspider/master
(WiiU) add support for Bluetooth controllers
2017-01-16 19:08:08 +01:00
aliaspider
a9749849e3 (WiiU) disc script: no need to delete icons. 2017-01-16 18:53:35 +01:00
aliaspider
8cb692622a (WiiU) add support for bluetooth controllers (Wiimote, nunchuk, classic
controller, wiiu pro controller).
2017-01-16 18:52:39 +01:00
Brad Parker
fc5afa3122 add UTF8 BOM to fix MSVC build 2017-01-16 12:50:08 -05:00
twinaphex
9feb430b58 Don't pass video_info_t as pointer 2017-01-16 18:03:00 +01:00
Twinaphex
af39ac76a4 Merge pull request #4431 from jprjr/coreaudio-fix
coreaudio: fix setting audio output device
2017-01-16 17:32:31 +01:00
John Regan
da51c2ebf6 coreaudio: fix getting device name 2017-01-16 10:26:17 -06:00
twinaphex
77cf4f4e06 This should fix index issue 2017-01-16 16:09:40 +01:00
twinaphex
6eac6a6447 joy_idx goes through joypad_map now 2017-01-16 15:20:14 +01:00
Twinaphex
3200d2ec88 Merge pull request #4430 from libretro/msr_temp
(menu_input_bind_dialog) Prevent warning
2017-01-16 09:58:57 +01:00
twinaphex
0968bcc173 (menu_input_bind_dialog) Prevent warning 2017-01-16 09:57:21 +01:00
bparker06
b5403da862 use name instead of joypad_name 2017-01-15 23:04:56 -05:00
twinaphex
666534cc74 Grab settings pointer only once inside wrapper 'input_driver' function 2017-01-16 00:14:10 +01:00
Alcaro
e29fcd566a Merge pull request #4429 from GregorR/netplay-autosave-sram
Use autosave_lock and autosave_unlock during SRAM negotiation
2017-01-16 00:13:05 +01:00
Gregor Richards
a0f236a83f Use autosave_lock and autosave_unlock during SRAM negotiation
The SRAM transfer in netplay handshake now uses autosave_lock and
autosave_unlock. Will possibly fix a hang/crash bug on Android with
netplay and autosave conflicting.
2017-01-15 18:10:24 -05:00
twinaphex
4a9ca66389 (WGL) Check if settings struct is non-NULL 2017-01-15 23:58:14 +01:00
twinaphex
e3e8796b2b (iohidmanager_hid.c) Stylistic cleanups 2017-01-15 21:13:01 +01:00
Twinaphex
1544a3d6e1 (OSX) Fix warnings 2017-01-15 21:07:15 +01:00
Twinaphex
e4fa9f178c Merge pull request #4427 from CoalaJoe/improve-german-translation
Add german translation to help menue
2017-01-15 21:00:54 +01:00
Ashura
ff9d6e1ee8 Added some more translations 2017-01-15 20:56:04 +01:00
Ashura
0b029dc830 Ordered some code alphabeticaly 2017-01-15 20:33:16 +01:00
Ashura
15e8930604 Add german translation to help menue 2017-01-15 20:25:04 +01:00
Twinaphex
ddc11e2d17 Merge pull request #4426 from jprjr/osx-iohidmanager
OSX Joypad Improvements
2017-01-15 19:49:06 +01:00
John Regan
4f352227ea OSX Joypad Improvements
This commit has two main changes to the OSX HID driver:

1.

Some joysticks have invalid/incorrect 'use' assigned to buttons and
axes. For example, my RetroUSB.com Genesis Retroport reports 8 buttons,
but they're reported as 1, 2, 3, 4, 1, 2, 3, 4, and my RetroLink
Gamecube-clone controller reports 2 axes with id 50.

OSX assigns each of these elements a unique cookie value, so it's still
possible to uniquely identify a button. Whenever a controller is
connected, the driver scans for all buttons and axes. When it identifies
a duplicate 'use' id, it reassigns it a new ID.

Whenever the input callback is called, it grabs the cookie value,
finds the input element with a matching cookie, and uses that element's
id instead of the one reported by the device.

The old joystick configs should not be broken by this - I'm using the
existing 'use' value wherever possible, and only changing it when it's
broken.

The 'faked' ids are done in a deterministic way, a joystick will never
have a button's 'faked' id change between launches of RetroArch.

2.

This enables HAT switch input.
2017-01-15 12:17:47 -06:00