Commit Graph

528 Commits

Author SHA1 Message Date
twinaphex
494be5ee07 Move more overlay struct definitions to overlay header 2014-12-29 10:44:35 +01:00
twinaphex
82f6c57966 Add new option 'Show Autoconfig Descriptor Labels' for more
comprehensible button labels per joypad - needs to be added per
autoconfig file
2014-12-16 06:21:18 +01:00
twinaphex
ec2242db02 Implement other driver options too 2014-11-26 21:48:02 +01:00
Twinaphex
0f43deb6d2 (Apple) Start making camera driver OSX-compatible (OSX 10.7 and up/requires AVFoundation) 2014-11-18 18:04:17 +01:00
Jay McCarthy
8a4f65e227 Moving function 2014-11-11 12:23:24 -05:00
Jean-André Santoni
82e67e7605 (Lakka) Use theme font + responsive font size 2014-11-07 15:05:59 +01:00
Jay McCarthy
f2f96bcac8 First draft of ios_menu 2014-11-04 22:01:01 -05:00
twinaphex
4a45308016 Rename gfx/filters and audio/filters to gfx/video_filters and audio/audio_filters
respectively
2014-10-29 07:51:23 +01:00
twinaphex
4f40c14d69 Move menu code up one root dir 2014-10-28 19:54:23 +01:00
twinaphex
6c193836a5 (Cg) Move cg shader variables to struct and allocate it at shader init 2014-10-26 04:49:58 +01:00
Twinaphex
b437565059 Prevent redefinition of struct 2014-10-26 01:09:52 +02:00
twinaphex
46717d1147 Start moving context driver variables to struct that gets
allocated and bound to driver.video_context_data - begin
with GLX context driver first
2014-10-24 03:12:08 +02:00
twinaphex
81c5019afb Move miscellaneous header over to libretro SDK 2014-10-21 08:39:37 +02:00
twinaphex
d3e16f045a Fix up Salamander 2014-10-21 08:18:45 +02:00
twinaphex
7472922ee0 Move compat/ over to libretro SDK 2014-10-21 07:58:58 +02:00
twinaphex
480cd7c7ba Move msvc_compat.h to compat/ dir 2014-10-21 06:06:12 +02:00
twinaphex
c62d52de0f Start properly implementing libretro SDK for boolean.h include
header, glsym, and rthreads
2014-10-21 05:05:52 +02:00
twinaphex
ec002b5f5c driver.h - Indenting nits 2014-10-15 06:23:04 +02:00
Mike Robinson
63741eeb57 Pass flags to init_drivers/uninit_drivers
Allow init/uninit of specific drivers instead of all.
2014-10-09 05:16:00 +01:00
Jean-André Santoni
7018d58731 (XMB) Initial commit 2014-10-09 01:21:22 +02:00
twinaphex
bcd5f8aa5b Add has_windowed to video driver and graphics context driver 2014-10-08 17:23:02 +02:00
twinaphex
c35d25c76e Add RARCH_CMD_NETPLAY_FLIP_PLAYERS and RARCH_CMD_FULLSCREEN_TOGGLE 2014-10-08 16:41:08 +02:00
AndresSM
7249ebc00c fix disk_next, add option for disk_prev 2014-10-07 20:19:12 -05:00
twinaphex
e0b977215f Rename some macros for bit get/setting 2014-10-05 15:48:06 +02:00
twinaphex
52f38412d0 runloop.c - Rewrite check_volume into set_volume 2014-10-05 06:10:23 +02:00
twinaphex
54c2522979 Refine check_oneshot function - we no longer need g_extern.is_oneshot
anymore
2014-10-05 05:18:46 +02:00
twinaphex
40186be4cc Add TODO note to driver.h 2014-10-04 14:30:01 +02:00
SuperrSonic
1a98cacee8 Deflicker stuff 2014-10-04 01:27:38 -04:00
twinaphex
4f30e1a3d7 A lot of functions could be made static in driver.c 2014-10-03 12:51:02 +02:00
Mike Robinson
b165b8fa82 Fix joypad driver setting
input_common.c was loading the first available joypad driver no
matter what input driver was selected, and the joypad driver menu
was non-functional. Allow choice of joypad driver from the menu.
2014-10-03 01:40:47 +01:00
twinaphex
c861b4f994 Move gl_wrap_type_to_enum to gfx/gl.c 2014-10-02 01:02:13 +02:00
twinaphex
ca12482af0 Move shader files to gfx/shader/ 2014-10-02 00:45:11 +02:00
twinaphex
0135d763db Move g_extern.netplay to driver.netplay_data 2014-10-01 23:00:05 +02:00
twinaphex
dead11f182 Move driver_active variables over to driver global 2014-10-01 22:34:48 +02:00
twinaphex
a35c61ec90 (Audio driver) Add 'alive' function callback 2014-10-01 21:42:19 +02:00
twinaphex
1a94f14e50 Move recording and resampler drivers to 'driver' global struct -
moving it outside of g_extern
2014-09-30 21:23:00 +02:00
Vladimir Panteleev
d0e970f175 Fix/reimplement input flushing
This fixes:

- menu toggle erratically not working on Android
- stray input going to libretro core when resuming content
- bound keys triggering as soon as they're bound on Android
- menu key repeat also repeating keys which should not be repeated
- issues caused by relying on timeouts for flushing

Architectural changes:

- menu_ctx_driver_t::input_postprocess now takes state and old_state
  (this allows getting rid of menu_handle_t::trigger_state)

Related changes:

- remove some no-op input_postprocess handlers (same effect as NULL)
- menu_iterate now uses the parameters passed to it, instead of
  polling menu_input
- menu_input is now merged into meta_input_keys_pressed
2014-09-29 12:58:52 +00:00
Vladimir Panteleev
85f745e587 Document some input-related variables 2014-09-29 12:56:31 +00:00
twinaphex
ddf5786ad7 Take out unused ANALOG_DPAD_DUALANALOG 2014-09-26 13:32:03 +02:00
twinaphex
eec0724175 Reimplement FLUSH_INPUT 2014-09-25 04:58:26 +02:00
twinaphex
aa6d779fbc Added 1-second timeout when binding hotkeys 2014-09-25 04:44:24 +02:00
twinaphex
2309a3e716 Move input_poll to libretro_version_1.c 2014-09-24 09:52:01 +02:00
twinaphex
63680ca5b4 Go through static variable retro_ctx for libretro backend
functions
2014-09-23 03:55:19 +02:00
Alcaro
ef4fbc752d Merge branch 'master' of github.com:libretro/RetroArch 2014-09-20 00:08:56 +02:00
Alcaro
af2d5ed53f Move this to the bottom for consistency with the other null drivers. 2014-09-20 00:03:35 +02:00
twinaphex
e5c22e3e54 Refactor check_enter_menu 2014-09-19 22:41:40 +02:00
twinaphex
f16a065cdd Fixes 'block hotkey enable' 2014-09-18 04:04:33 +02:00
twinaphex
4c4ae11ab6 Optimizations to input handling in rarch_main_iterate - pass
'trigger' state around
2014-09-17 20:15:56 +02:00
twinaphex
82806dcd85 Hide away last BIND_PRESSED invocations with check_quit_key_func 2014-09-17 17:48:41 +02:00
twinaphex
f7061e7233 Rewrite check_pausegp 2014-09-17 17:45:44 +02:00
twinaphex
3892c8326d Use macro functions to hide away some of the ugliness 2014-09-17 07:38:49 +02:00
twinaphex
191f0b6383 Move input_key_pressed to input_common.h 2014-09-16 07:02:57 +02:00
twinaphex
a09e04f679 Split up driver_menu.h into three separate header files -
for menu display API, menu backend API, and menu driver general API
2014-09-16 00:52:07 +02:00
Higor Eurípedes
85cef84bd4 (driver.c) Add driver_video_resolve()
This function returns the real video driver data when threaded video is
in use.
2014-09-12 17:26:26 -03:00
twinaphex
75d2e13dcb Make drivers non-const 2014-09-11 07:06:20 +02:00
Jean-André Santoni
5e433abf8b (GLUI) GL based RGUI display driver clone 2014-09-11 04:07:07 +02:00
twinaphex
aade2b45ef Style / indent nits 2014-09-09 05:24:32 +02:00
twinaphex
9d783b6627 Style cleanups 2014-09-07 05:47:18 +02:00
twinaphex
ceb4e05e88 Cleanups - C-style comments, 80-char limit, etc 2014-09-02 04:43:31 +02:00
twinaphex
a44665bcae Refactor prev/next driver settings 2014-08-31 19:06:32 +02:00
twinaphex
5c2006c072 Remove extraneous elses 2014-08-27 02:06:39 +02:00
twinaphex
9287d6363f Remove unused keybind_set_id 2014-08-27 01:04:19 +02:00
twinaphex
31e7f1009d Refactor find_prev/find_next menu driver functions 2014-08-26 23:19:48 +02:00
twinaphex
d05d909373 Get rid of some duplicate get_prev/get_next functions 2014-08-26 23:11:35 +02:00
twinaphex
3cfe954b74 Combine all driver_index* functions 2014-08-26 20:32:48 +02:00
twinaphex
a468d9e860 Remove unused menu_ctx_find_driver 2014-08-26 20:18:53 +02:00
twinaphex
6a8ccc3844 Move DEFAULT_SHADER_TYPE from driver.h to gfx/shader_common.h 2014-08-26 19:48:56 +02:00
twinaphex
4dea8caa6f (SoftFilter) Refactor most code associated to SoftFilter plugin - load .filt
files instead of the dynamic libraries directly. Options can be
set in the config file.

There's still a problem with config file options - will work this
out later.
2014-08-19 19:38:33 +02:00
twinaphex
a3e8a18d8f Get rid of CONSOLE_MENU enums 2014-08-15 20:54:51 +02:00
twinaphex
d5de35935c Get rid of driver_funcs.h 2014-08-15 20:53:49 +02:00
twinaphex
0966d384d8 (OSK) Get rid of HAVE_OSK ifdef 2014-08-14 06:40:33 +02:00
twinaphex
e1a122843b Add null camera - remove HAVE_CAMERA ifdefs 2014-08-14 02:55:04 +02:00
twinaphex
027bd68bb3 Add location/null.c - get rid of HAVE_LOCATION ifdefs 2014-08-14 02:15:48 +02: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
Higor Eurípedes
b6df19dffb (SDL*) Merge input drivers 2014-08-11 19:47:30 -03:00
Twinaphex
0998c5a203 Merge pull request #866 from SuperrSonic/master
Basic video encoder changer (viWidth), affects GC/Wii only
2014-08-11 10:57:01 +02:00
SuperrSonic
ba0fba655e added viwidth stuff 2014-08-10 16:45:55 -04:00
Higor Eurípedes
46beb117ef (SDL2) Add input driver 2014-08-10 15:00:21 -03:00
Higor Eurípedes
1ea504fcfe (SDL2) Added video driver 2014-08-10 13:39:31 -03:00
twinaphex
80a19ff0fd (Wayland) Adding preliminary work by maister - input hookup still
missing
2014-08-09 21:35:27 +02:00
twinaphex
e110bd90f5 Refactor DSP filter init/deinit 2014-08-02 13:40:38 +02:00
Tobias Jakobi
9a38d77655 Remove the lima video driver
The driver is now superseded by the exynos video driver. Also limare
only works up to mali kernelspace driver version r3p2, which makes
the driver nonfunctional with the latest r4p0.
2014-07-17 14:55:56 +02:00
Tobias Jakobi
7efa9def07 Add exynos video driver
Documentation is provided in README-exynos.
2014-07-17 14:41:44 +02:00
Themaister
cdc46ae512 Block libretro input when ENABLE_HOTKEY is held. 2014-07-11 00:26:50 +02:00
Themaister
cce0ec63a4 Move menu driver structs to its own header. 2014-06-17 16:49:26 +02:00
Themaister
57dffba9ba De-opaque file_list. 2014-06-17 16:46:30 +02:00
Themaister
76292f873a De-opaque shader_parse. 2014-06-17 16:41:06 +02:00
twinaphex
a7cb3e22a7 (Menu) Replace some more RGUI strings 2014-06-10 02:44:19 +02:00
twinaphex
966db762cf (Menu) More replacement of namespace prefix 'rgui' with 'menu' 2014-06-10 02:06:10 +02:00
twinaphex
639e6dbe33 (Menu) Make distinction between menu and RGUI more clear - RGUI is just
the display layer driver now
2014-06-10 01:42:26 +02:00
twinaphex
974af4429a (Menu) Set RGUI_MAX_BUTTONS to 219 by default - maister - tell me if this
is alright
2014-06-10 01:33:44 +02:00
Themaister
64cc0efefe Parametrize drop shadows. 2014-06-08 14:08:26 +02:00
Themaister
54c7521bf8 Drop useless win_width/height arguments to font init. 2014-06-08 14:08:26 +02:00
Themaister
e545d695ec Begin big rewrite of GL/raster font rendering path. 2014-06-08 14:08:26 +02:00
Toad King
c09c5c1109 more android input changes. rebinding from RGUI works now. need to re-add autodetect and special behavior for some controllers 2014-06-06 23:41:09 -04:00
twinaphex
c4e1289c9a (Win32) Build fix 2014-06-01 03:00:31 +02:00
twinaphex
a40e17a2c1 (PS3) Compile fix 2014-06-01 00:24:35 +02:00
Themaister
79bd141839 Don't pass useless argument to set_texture().
Be more defensive in rmenu texture upload.
2014-06-01 00:20:54 +02:00
twinaphex
ea49c5ecae Revert "(RMenu) Take out menu_texture_inited bool"
This reverts commit 36820347b3.
2014-05-31 23:47:35 +02:00