twinaphex
f0aa0f99fd
(Location) Reimplement some parts of the location interface - get_latitude
...
and get_longitude are gone now in place of get_position. Basically,
from C land we basically do a poll-style queries, but on the
implementation side (ie. Android/iOS/OSX) - they all use callback-based
location updates. So we simply check in the poll function (get_position)
whether position has changed, and if so, update the pointer values and
return true - if not, set them to 0 and return false.
2013-12-19 15:47:47 +01:00
Themaister
855cb54def
Some cleanups to location interface.
...
Avoid three redundant fields in struct.
Use unsigned instead of int for argument for API consistency.
2013-12-19 10:15:55 +01:00
twinaphex
031a9d05be
(Location) Environ GET_LOCATION_INTERFACE should be implemented now
2013-12-19 05:51:25 +01:00
twinaphex
d092413d63
(Apple/Location) Build fixes
2013-12-19 03:41:28 +01:00
twinaphex
e983aa4c35
(Location) Implement stub Android location driver - will still need
...
a couple of functions filled in
2013-12-19 03:37:26 +01:00
twinaphex
fd5a3fa9da
(Location) Fix derp
2013-12-19 02:44:21 +01:00
twinaphex
f29d590973
(Apple) Add location driver for Apple to location_drivers array
2013-12-19 02:41:48 +01:00
twinaphex
742f85eafc
Add HAVE_LOCATION - still need to write frontend drivers now for
...
location
2013-12-19 01:51:51 +01:00
twinaphex
bfbebaf041
(Android) Add JXD S5110B Skelrom to input autodetect
2013-12-16 10:52:50 +01:00
Themaister
84c93ef94a
Add experimental RGUI keyboard search feature.
...
Type '/' to start search, then type search string (case sensitive for
now due to strcasestr being GNU ext). When done, type return.
2013-12-09 16:18:58 +01:00
Themaister
c21310b261
Start adding udev input driver.
2013-12-07 14:13:40 +01:00
twinaphex
cc7cda7252
(iOS) Skeleton camera driver
2013-12-01 14:41:18 +01:00
twinaphex
2b01f0a33e
(Android) Add JXD S7800B autodetected controls
2013-11-29 15:10:39 +01:00
twinaphex
de1bae69c9
(Android) Add skeleton camera driver
2013-11-17 19:47:37 +01:00
Themaister
6d6e964672
Fixup CXX_BUILD.
...
Cleans lots of sign-related warnings as well.
2013-11-16 17:31:49 +01:00
twinaphex
9558a47ada
(PS3 RGUI) Working OSK input
2013-11-15 23:19:44 +01:00
Squarepusher
4ab77e8405
Merge pull request #385 from libretro/webcam-test
...
Emscripten webcam driver
2013-11-13 01:25:19 -08:00
ToadKing
aaff8f2648
move prototype camera interface to libretro interface - GL texture only for now
2013-11-12 19:48:36 -05:00
twinaphex
aec049c803
(OSK) Refactor - (Onscreen Keyboard) - PS3-only backend for now -
...
I will make an overlay-based backend soon too for all other platforms
2013-11-13 00:27:31 +01:00
twinaphex
8ce8051654
(OSK PS3) Refactor OSK PS3 input
2013-11-12 17:16:30 +01:00
Themaister
dfff94e5a0
Rework camera interface.
...
Hook up a more proper interface for libretro. Still very experimental.
2013-11-12 16:02:26 +01:00
twinaphex
c107b06a76
Add RETRO_ENVIRONMENT_SET_CAMERA_RETRIEVE
2013-11-12 12:00:57 +01:00
twinaphex
6a9bc1bfa4
(Menu) Show camera driver inside 'Drivers' category
2013-11-11 15:39:46 +01:00
twinaphex
f8d44c6e60
(Camera) Add camera driver init/deinit when HAVE_CAMERA is defined
2013-11-11 14:26:57 +01:00
Themaister
70fcf31fdd
Use bool for ready.
2013-11-10 17:47:39 +01:00
ToadKing
a6024c4efa
add width and height retrieval to camera driver
2013-11-09 23:06:58 -05:00
twinaphex
fc65ae7709
(Camera) Add preliminary camera interface and preliminary
...
Video4Linux 2 camera driver implementation - ToadKing can try
to hook into this driver interface now for his WebGL camera driver
2013-11-10 03:16:03 +01:00
twinaphex
cc78199051
(Menu) Cut down on some HAVE_RMENU ifdefs
2013-11-08 15:15:53 +01:00
twinaphex
f8c37fc933
(Menu) Simplify menu preprocessor conditionals - there is now
...
one common catch-all define called HAVE_MENU
2013-11-08 04:36:47 +01:00
Themaister
ae07e75e7c
Hook up sensors API in libretro.
...
There are still many FIXMEs to be resolved before the interface
can lose its experimental status.
2013-11-03 12:06:14 +01:00
twinaphex
c0e02d3957
(Android/General) Add preliminary sensor support to libretro API /
...
add accelerometer support to Android input driver
2013-11-03 00:27:58 +01:00
twinaphex
3e8166bfa5
(Input) Add new function to input driver - get_capabilities
2013-11-02 21:16:57 +01:00
twinaphex
f149c387b9
Remove 'start' from video interface
2013-11-01 21:18:38 +01:00
twinaphex
aab3f93f56
Fix driver next/previous switching
2013-10-30 17:50:43 +01:00
twinaphex
b2d1fe66b3
(RGUI) Can now change drivers from RGUI - you need to restart
...
for changes to take effect
2013-10-30 17:06:50 +01:00
Themaister
76c92bb0b4
Rework overlay driver interface.
...
Takes multiple images, each with individual positions, textures, etc.
2013-10-15 16:06:59 +02:00
twinaphex
fd053086ef
(RARCH_CONSOLE) Remove DECREMENT_BIND/INCREMENT_BIND
2013-10-06 20:01:44 +00:00
twinaphex
abb829283b
Take out messy Dpad emulation code - this will require an entire
...
rewrite where we come up with a solution that works the same across
console/PC/mobile
2013-10-05 20:55:37 +00:00
Themaister
2bd065e359
Move TURBO key below analogs.
...
Avoid having it show up in menu.
2013-09-30 19:40:41 +02:00
Themaister
b4a648ca8a
Merge branch 'master' of github.com:libretro/RetroArch into inputconfig
...
Conflicts:
frontend/menu/menu_common.h
frontend/menu/rgui.c
2013-09-30 17:50:05 +02:00
twinaphex
48c042d56c
(360) More build fixes
2013-09-29 18:04:56 +02:00
Themaister
dad5e347d8
Start adding joypad config.
2013-09-29 17:58:46 +02:00
Themaister
c7db4aff64
Support variable strength for rumble motors.
2013-09-26 12:55:05 +02:00
Themaister
a01ef18f80
Add RETRO_ENVIRONMENT_GET_RUMBLE_INTERFACE.
2013-09-25 23:21:32 +02:00
Themaister
7855781cd8
Hook up rumble interfaces to input drivers.
2013-09-25 22:59:05 +02:00
twinaphex
737520143f
(Android) Add FC30 Gamepad to autodetection list (untested)
2013-09-19 02:13:34 +02:00
twinaphex
a36f7a6b9a
(Anroid) Add Wikipad (untested/preliminary) to autodetection list
2013-09-19 02:07:49 +02:00
twinaphex
650c6f4885
(Android) Add Much iReadGo i5 to autodetection list
2013-09-19 01:35:59 +02:00
Hans-Kristian Arntzen
7d90ff4011
Merge pull request #303 from libretro/emscripten
...
Emscripten/Javascript port
2013-09-11 01:01:29 -07:00
ToadKing
a09dda3a9d
[EMSCRIPTEN] add custom input driver, removes SDL dependency + adds mouse support
2013-09-10 20:21:48 -04:00
meancoot
149a0f37d0
(Overlay Analog) Coding style fixes
2013-09-05 18:19:07 -04:00
meancoot
21388592ea
(Overlay) Add basic analog support
2013-09-05 11:38:00 -04:00
ToadKing
04be8cbee2
new audio core, RWebAudio. Glitchy, but works well, even with requestAnimationFrame callbacks
2013-08-28 00:03:25 -04:00
Themaister
32cae444a0
Fixup new private extensions.
...
Moved private stuff to libretro_private.h.
Dropped use of retro_variable (redundant and wrong type).
Didn't understand difference between EXEC_LOAD and EXEC_RELOAD at all.
Only one was used anyways ...
2013-08-25 11:10:32 +02:00
Themaister
e18af77412
Add path to cache GL context on reinit.
...
If successful, can avoid libretro GL reset context callback being
called.
2013-08-11 00:53:19 +02:00
Themaister
222fa8317a
Initial support for nVidia Shield.
2013-08-01 20:04:18 +02:00
twinaphex
f7622d3294
Add OMAP graphics driver (Tobias Jakobi)
2013-07-28 18:37:31 +02:00
dwihn0r
91af9c5f4f
Added auto detection for the iControlPad when using the HID joystick profile and adjusted the iControlPad Bluez IME detection to look for the IME.
2013-07-14 10:06:10 +02:00
meancoot
78acc25931
(Apple) Add keyboard input support for OSX
2013-07-07 16:01:58 -04:00
twinaphex
87a7a56726
(Blackberry) Add iPega default binds
2013-07-06 17:49:30 +02:00
twinaphex
d0bd978142
(Android) Add JC U912F gamepad to autodetection list
2013-06-28 14:05:58 +02:00
Themaister
e1bc9a96ae
Drop unnecessary ifdef.
2013-06-22 10:49:55 +02:00
twinaphex
308e64094b
(ALSA QSA) Add preliminary ALSA QSA driver based on CatalystG's
...
audio driver for PCSX ReARMed - still broken - exits at 'Error:
Channel Parameter Error - no such process'
2013-06-21 18:56:39 +02:00
twinaphex
ffe6d0c2df
(Android) Add Onlive Wireless Controller to input autodetection
...
list
2013-06-16 18:32:46 +02:00
twinaphex
65c52b2adb
(Android) Add Logitech Precision Gamepad to input autodetection list
2013-06-16 18:25:17 +02:00
CatalystG
c3077bd4fe
(BlackBerry) Add Cascades button mapping interface, player 1 only so far.
2013-06-11 23:19:58 -04:00
Themaister
b0b6e65ab6
Add monitor refresh rate monitor in RGUI.
...
Doesn't support updating refresh rate setting yet.
2013-06-07 14:10:42 +02:00
twinaphex
713b3fc64e
(Android) Add Defender Game Racer Classic to autodetection list
2013-06-06 12:30:02 +02:00
twinaphex
2eac87630d
(Android) Build fix
...
(Android) Add GameMID to autodetection list
2013-06-04 11:14:14 +02:00
twinaphex
cb84451542
(Android) Add Gamestop Wireless, Tomee NES USB, and Thrustmaster T Mini
...
Wireless to autodetection list
2013-05-26 01:13:24 +02:00
twinaphex
75104aa4e2
(iOS) First stab at being able to set default binds (for Wiimote +
...
Classic)
2013-05-25 18:20:31 +02:00
twinaphex
1458678dbc
(Android) Add preliminary Ouya controller support
2013-05-13 10:38:43 +02:00
CatalystG
89e672d4be
(BlackBerry) Add HW Keypad support for Q10, hide default overlay.
2013-05-07 19:10:07 -04:00
twinaphex
34619412bc
(RARCH_CONSOLE) Get rid of video_stop_func
2013-04-24 16:08:18 +02:00
Themaister
bb36aecadb
Fix MSVC 2010 build.
2013-04-21 10:05:26 +02:00
twinaphex
96f2ecce20
(RMenu/RGUI) Move filebrowser/menu stack initialization to upper-layer
...
menu_init() function
2013-04-18 18:33:03 +02:00
Themaister
f968ee6527
Refactor nonblock states.
...
Preserve nonblock state better across reinits, etc.
Try to keep vsync in RGUI.
2013-04-14 00:56:55 +02:00
Themaister
c17714ffbb
Add full screen mode to set_texture_enable.
2013-04-13 16:49:25 +02:00
twinaphex
1171b7576a
Get rid of set_blend callback - the rgui draw texture function is
...
now in charge of making sure texture is properly blended - note
to OV2/maister - test if this breaks D3D9 PC driver and if so
fix accordingly
2013-04-11 13:13:37 +02:00
CatalystG
df777c0264
(BlackBerry) Add initial Keyboard support for BB10.
2013-04-08 19:55:09 -04:00
CatalystG
21e45e3de6
(BlackBerry) Add Gamepad support for BlackBerry 10 devices
2013-04-08 19:55:09 -04:00
twinaphex
db0ff2a212
(RARCH_CONSOLE) Build fixes
2013-04-07 18:03:25 +02:00
Themaister
4cdfcf30d5
Refactor set_rgui_texture.
...
More generic and avoids poking directly into RGUI state.
2013-04-07 14:07:45 +02:00
Themaister
f88ea04c28
Remove fixed shader index in set_shader.
2013-04-07 13:00:21 +02:00
Themaister
4a8b3599bc
Refactor out cg_shader_path, xml_shader_path.
...
Make shader paths uniform in shader_path.
2013-04-07 01:46:06 +02:00
twinaphex
a2d9129782
Kill off set_fbo_state and get_fbo_state function pointers
2013-04-06 06:21:11 +02:00
Hans-Kristian Arntzen
ebd7dcf721
Merge pull request #169 from Themaister/gl-render
...
HW GL render for libretro.
2013-03-30 06:33:53 -07:00
twinaphex
b73edeb2c3
(Android) Add Sega Virtua Stick to input autodetection list
2013-03-30 08:56:46 +01:00
twinaphex
39c0ed745c
(PS3) Get rid of QUICKMENU_TOGGLE define - was surpassing 64 entries
...
on PS3 - now going to do 'menu toggle behavior' logic instead -
menu toggle now triggers ingame menu - will be configurable
2013-03-30 07:19:42 +01:00
Themaister
292bc36b43
Basic mouse grabbing for X11.
2013-03-29 18:55:54 +01:00
twinaphex
426b3a255d
Revert "(PS3) Add third-pass shaders (ifdeffed for PS3 for now - could" -
...
going to do this better
This reverts commit 8b4e6bed93
.
2013-03-29 01:55:08 +01:00
twinaphex
8b4e6bed93
(PS3) Add third-pass shaders (ifdeffed for PS3 for now - could
...
be added to PC as well)
2013-03-28 20:59:49 +01:00
Themaister
1cececac18
Add get_proc_address.
...
Render something "real" in GL.
2013-03-28 01:11:32 +01:00
Themaister
af40f3e9b8
Add initial GL direct rendering test.
2013-03-27 16:15:15 +01:00
twinaphex
82329cf097
(Blackberry) Starts up in RGUI mode now - should (hopefully) allow
...
for dynamic changing of libretro core and selection of ROM instead
of hardcoded paths.
2013-03-24 01:00:00 +01:00
twinaphex
3bc487be87
Merge branch 'ios' of git://github.com/meancoot/RetroArch
2013-03-15 20:05:15 +01:00
Themaister
b68a95c72e
Declare enum name, not a variable.
2013-03-15 09:05:52 +01:00
twinaphex
0166ce4585
(RGUI) RGUI input code now no longer GEKKO-specific
2013-03-15 01:22:52 +01:00
twinaphex
375aa08e58
Remove rarch_conole_input - runtime button remapping should have
...
no more RARCH_CONSOLE dependencies
2013-03-14 21:55:10 +01:00
twinaphex
44ccbe0122
Implement KEYBINDS_ACTION_GET_BIND_LABEL - will be used through
...
set_keybinds
2013-03-14 18:02:19 +01:00
twinaphex
fd05b5a25c
rarch_input_set_keybind refactored away - input driver's set_keybinds
...
function now provides the functionality
2013-03-14 15:01:36 +01:00
twinaphex
ede829c354
Refactor set_default_keybinds callback into set_keybinds - remove
...
set_analog_dpad_mapping and have it go through set_keybinds - expand
functionality of set_keybinds
2013-03-14 02:24:57 +01:00
twinaphex
4fa8d0f3c6
(Android) Rewritten input_autodetect- now implements set_default_keybinds
2013-03-13 23:17:33 +01:00
twinaphex
d7130d58f6
Move set_default_keybinds upstream (no longer ifdeffed RARCH_CONSOLE)
2013-03-13 16:33:39 +01:00
twinaphex
ece717f2cc
Rename set_default_keybind_lut to set_default_keybinds
2013-03-13 16:30:01 +01:00
twinaphex
8f5a49dc7e
Refactor default_binds - now becomes a member ni retro_keybind
...
called def_joykey
2013-03-13 15:34:33 +01:00
twinaphex
c28bb3a3fd
Move init_console_drivers and uninit_console_drivers to driver.c
...
and rename them global_init_drivers and global_unit_drivers -
we'll need this for Blackberry, starting RetroArch with RGUI
at startup AND consoles
2013-03-13 04:16:56 +01:00
twinaphex
31998880f6
(Input) Remove max_pads member variable (was RARCH_CONSOLE only -
...
not needed)
2013-03-13 00:39:01 +01:00
twinaphex
545911d4da
(Input) Remove post_init and make it part of input_init
2013-03-13 00:34:46 +01:00
twinaphex
b4108eb343
Add set_osd_msg to video_poke
2013-03-11 21:42:02 +01:00
ToadKing
eb82bd2127
implement driver.current_msg
...
fix RGUI to no longer use driver.video_data casting
2013-03-10 16:02:10 -04:00
twinaphex
dd697ded76
(XDK) Ifdef FBO video_poke functions with HAVE_FBO
2013-03-10 20:24:19 +01:00
Themaister
0e75731685
Add get_fbo_state().
2013-03-10 20:13:04 +01:00
Themaister
0b67cd7e84
Add apply_state_changes.
2013-03-10 19:49:26 +01:00
Themaister
63d946c69f
Add set_rgui_texture interface to video_poke.
2013-03-10 19:14:28 +01:00
twinaphex
e741cc77c6
start/stop/restart ifdeffed for RARCH_CONSOLE instead of
...
HAVE_RMENU - transfer of control bypasses initialization of variables
in RGUI - issues fixed
2013-03-10 17:40:34 +01:00
twinaphex
59ff094b3b
Add set_blend to video_poke interface
2013-03-10 03:53:42 +01:00
meancoot
9fadca2a54
Merge branch 'master' of https://github.com/Themaister/RetroArch into ios
2013-03-09 20:09:32 -05:00
Themaister
2681f14032
Add video_poke_interface_t.
2013-03-10 01:17:17 +01:00
twinaphex
66e7606b25
HAVE_RGUI and HAVE_RMENU are now mutually exclusive - no longer
...
have to be defined both for (say) the Android port
2013-03-09 17:42:19 +01:00
twinaphex
f14f6453df
Get rid of HAVE_RMENU ifdef in bind ID enumeration
2013-03-09 16:15:26 +01:00
twinaphex
0b6e5a6388
Rename RARCH_RMENU_TOGGLE to RARCH_MENU_TOGGLE
2013-03-09 16:14:26 +01:00
twinaphex
dc95abf70e
Drop RARCH_SRAM_WRITE_PROTECT and RARCH_CHEAT_INPUT that we
...
aren't even using for now so that RetroArch bind IDs stay under
64
2013-03-09 15:36:33 +01:00
meancoot
06bb6b7840
Merge branch 'master' of https://github.com/Themaister/RetroArch into ios
2013-02-21 22:18:14 -05:00
Themaister
e3dfba2c34
Add preliminary disk swapping interface.
...
Works with Mednafen's disk swapping model.
2013-02-21 23:44:07 +01:00
Themaister
843d079002
Begin adding threaded video driver wrapper.
2013-02-16 02:48:08 +01:00
meancoot
7e4e028fc8
ios: Add a simple input driver draft; tracks only one touch for now.
2013-02-06 18:23:11 -05:00
Themaister
eb979732b4
Add alpha modulation to overlays.
2013-01-29 21:51:15 +01:00
twinaphex
01ffc06d6a
Add button descriptor to retro_keybind
2013-01-12 18:45:22 +01:00
Themaister
312980ee30
Add support for full-screen overlays.
2013-01-11 16:23:04 +01:00
twinaphex
589b5eefdb
(360) 360 audio driver now goes through the same Xaudio driver
...
as PC
2013-01-09 22:04:28 +01:00
Themaister
551a464978
Rework index parameter to set_shader().
2013-01-08 04:08:15 +01:00
twinaphex
c76ae2a8d1
(RARCH_CONSOLE) Use init_drivers_pre once at startup of console
...
ports - use driver.video, driver.input as much as possible from
then instead of explicit platform-specific drivers
2013-01-07 18:18:44 +01:00
twinaphex
9251eebe13
(RARCH_CONSOLE) Make find_video_driver public in scope and use
...
it in console ports
2013-01-07 17:48:45 +01:00
twinaphex
b56b645366
Rename RARCH_SHADER_BSNES to RARCH_SHADER_GLSL
2013-01-07 17:03:10 +01:00
twinaphex
3a5d056b95
Expand functionality of set_shader callback function
2013-01-07 16:46:26 +01:00
ToadKing
fd0bb1b3ee
make alsathread a seperate audio driver
2013-01-04 14:58:34 -05:00
Themaister
e9cfb95900
Add fallback path for RGBA.
...
This is necessary for GLES devices which do not support BGRA_EXT.
2013-01-03 01:20:35 +01:00
Themaister
0b4cf2d053
Update license headers to 2013.
2013-01-01 01:41:15 +01:00
Themaister
8a58858d84
Refactor out save stating and reentrancy.
...
It's not really needed.
2012-12-30 18:25:49 +01:00
Themaister
e3378c219c
Use crude ref-counting for driver handles.
2012-12-25 23:18:19 +01:00
Themaister
225647d0e3
Add public function to set refresh rate of monitor.
2012-12-23 19:05:20 +01:00
Themaister
35bf5c82c1
Make OVERLAY optional.
2012-12-23 18:39:01 +01:00
twinaphex
52e4c3eff4
Revert "Ifdef bind IDs based on compiled in features - we only have 64 bits"
...
This reverts commit 576a40707d
.
2012-12-23 18:21:36 +01:00
twinaphex
576a40707d
Ifdef bind IDs based on compiled in features - we only have 64 bits
...
to work with for input_state so we need to get rid of unneeded
features per port
2012-12-23 18:09:30 +01:00
Themaister
34bd32c1fd
Add RETRO_OVERLAY_NEXT bind.
2012-12-22 15:33:28 +01:00
Themaister
9056946079
Merge branch 'master' into overlay
2012-12-22 11:38:18 +01:00
Themaister
6bb2349833
Kill off external driver plug interfaces.
...
These are too much work to maintain, and aren't really all
that useful.
2012-12-22 11:37:15 +01:00
Themaister
47a98ef205
Make overlay polling completely independent.
2012-12-20 15:33:54 +01:00
Themaister
1250fae7f1
Basic overlay POC works.
...
Add support for X11.
2012-12-20 12:24:49 +01:00