summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/input/input_dinput.h
Commit message (Collapse)AuthorAgeFilesLines
* Creating an -attach_window command line parameter on Windows to attach to an ↵ npwoods2019-08-041-2/+35
| | | | | | | | | | | | | | existing window (#5381) * Creating an -attach_window command line parameter on Windows to attach to an existing window * Moved -attach_window option to Windows-specific code * Created an osd_set_aggressive_input_focus() function and exposed to LUA * Created a dummy implementation of osd_set_aggressive_input_focus() for SDL
* Compile testing anybody? (nw) Olivier Galibert2017-02-271-4/+2
|
* Some reports of garbage in console with DInput controllers. Brad Hughes2017-02-271-2/+7
| | | | Change to snprintf with assert since apparently snprintf fixes the reported problem.
* Change window handle storage to template instead of void* (nw) (#1725) Brad Hughes2016-11-171-1/+1
| | | | * Change window handle storage to template instead of void* (nw)
* Small cleanup (nw) Miodrag Milanovic2016-11-111-1/+1
|
* Merge remote-tracking branch 'mamedev/master' Tomer Verona2016-10-091-1/+1
|\
| * Bulk renaming of Windows string conversion functions Nathan Woods2016-10-031-1/+1
| | | | | | | | | | utf8_from_[a|w|t]string ==> osd::text::from_[a|w|t]string [a|w|t]string_from_utf8 ==> osd::text::to_[a|w|t]string
* | Incorporate product / instance directinput device ids Tomer Verona2016-10-091-2/+15
|/ | | | | | | This change generates a more unique device id for derect input devices by incorporating the product unique identifier and instance unique identifier. This allows for better disambiguation on device id when mapping controllers via mapdevice config settings.
* Adding id() property to input_device Tomer Verona2016-09-201-5/+8
| | | | | | | | | | | | This change adds id() property to input_device, which represents the unique device id. This allows the osd layer when creating a device to pass a friendly display name along with a unique identifier. Currently the device id is only used to map a physical controller device to controller id, but can be used more generally in the future. For raw input devices, we use the full raw input name as the device id. For all other devices, we fall back to device name as the device id. The "uniqueness" of the device id is not currently enforced in code.
* Changed strconv.[cpp|h] functions to return their results as std::string and ↵ Nathan Woods2016-07-241-3/+2
| | | | std::wstring
* The calling convention goes inside the brackets of pointers to functions. ↵ smf-2016-06-151-2/+2
| | | | | | | | | | | | | Allows compiling with MSVC (nw) Revision: 58dc78b6eba373d88fe7ef68f9ce3c2c43e635d6 Author: Giuseppe Gorgoglione <gorgogsp@gmail.com> Date: 28/05/2016 03:14:15 Message: Introduce dynamic_module This is a central cross-platform facility to dynamically bind functions from shared libraries. Updated all OSD modules to use it.
* Introduce dynamic_module Giuseppe Gorgoglione2016-06-111-4/+6
| | | | | This is a central cross-platform facility to dynamically bind functions from shared libraries. Updated all OSD modules to use it.
* Move window_list to osd_common_t Brad Hughes2016-06-111-1/+1
|
* Unify window_list in Windows and SDL OSD Brad Hughes2016-06-101-1/+1
|
* Improve support for more Joysticks with DirectInput8. Also repair ↵ Quench02016-05-201-1/+15
| | | | DirectInput7 compile.
* Cleanups and version bumpmame0173 Miodrag Milanovic2016-04-271-1/+1
|
* Revert "Temp revert of Brad changes (nw)" Miodrag Milanovic2016-04-251-1/+1
| | | | This reverts commit 5e831f6506ee06f8c30cb113551ee0fec53804db.
* Temp revert of Brad changes (nw) Miodrag Milanovic2016-04-251-1/+1
|
* Refactor OSD window. Brad Hughes2016-04-211-1/+1
| | | | | | | | | | Unified renderer in osd_window as std::unique_ptr Made windows all std::shared_ptr<window_type> Made window lists std::list<std::shared_ptr<window_type>> Updated OSD SDL worker_param to not use malloc (not compatible with smart pointers) Made renderer pointer to window a weak reference. May not be available during destruction of the window.
* Standardize platform window pointer storage in osd_window. Brad Hughes2016-04-181-1/+1
| | | | Also encapsulate show/hide capture/release cursor functionality.
* Hybrid DirectInput/XInput module Brad Hughes2016-04-041-0/+177