summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/input/input_win32.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Slightly cleaned up OSD input modules. Vas Crabb2021-07-291-33/+30
| | | | | | | | | | Removed support for DirectInput 7 and earlier. It hasn't been tested in years, and it's not relevant on any supported OS. DirectInput is effectively finalised at version 8, and is unlikely to get an API update in the future. Use more string[_view] and fewer C strings, and tightened up scope of a few things.
* Eliminate ARRAY_LENGTH template in favor of C++17's std::size AJR2021-02-141-2/+2
| | | | | | | | | | * osdcomm.h: Move definition of EQUIVALENT_ARRAY to coretmpl.h * sharc.cpp, gt64xxx.cpp, ym2413.cpp, gb_lcd.cpp, snes_ppu.cpp: Use STRUCT_MEMBER for save state registration * gio/newport.cpp, megadrive/svp.cpp, nes_ctrl/bcbattle.cpp, arm7.cpp, tms9995.cpp, pckeybrd.cpp, sa1110.cpp, sa1111.cpp, jangou_blitter.cpp, vic4567.cpp: Use std::fill(_n) instead of memset * emucore.h: Remove obsolete typedef
* fixed some modernize-use-auto clang-tidy warnings (nw) (#6238) Oliver Stöneberg2020-01-301-1/+1
|
* Move special windows.h include directives to build defines (nw) Brad Hughes2016-12-281-3/+0
|
* Fix key names with -keyboardprovider win32 Vas Crabb2016-11-251-4/+8
|
* Change window handle storage to template instead of void* (nw) (#1725) Brad Hughes2016-11-171-5/+7
| | | | * Change window handle storage to template instead of void* (nw)
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-1/+1
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* Adding id() property to input_device Tomer Verona2016-09-201-9/+9
| | | | | | | | | | | | 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.
* osd input code cleanup (nw) Brad Hughes2016-08-221-7/+19
|
* for bool type use true and false (nw) Miodrag Milanovic2016-07-311-5/+5
|
* std::min and std:max instead of MIN and MAX, also some more macros converted ↵ Miodrag Milanovic2016-07-311-0/+2
| | | | to inline functions (nw)
* Fix input issues on big endian systems (fixes #963) Brad Hughes2016-06-291-5/+21
|
* Move window_list to osd_common_t Brad Hughes2016-06-111-6/+6
|
* Unify window_list in Windows and SDL OSD Brad Hughes2016-06-101-6/+6
|
* Revert "Temp revert of Brad changes (nw)" Miodrag Milanovic2016-04-251-6/+6
| | | | This reverts commit 5e831f6506ee06f8c30cb113551ee0fec53804db.
* Temp revert of Brad changes (nw) Miodrag Milanovic2016-04-251-6/+6
|
* Various cleanups suggested by static analyzer (nw) Miodrag Milanovic2016-04-241-2/+2
|
* Refactor OSD window. Brad Hughes2016-04-211-6/+6
| | | | | | | | | | 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-5/+5
| | | | Also encapsulate show/hide capture/release cursor functionality.
* Cleanups and version bump Miodrag Milanovic2016-03-301-8/+7
|
* General code cleanup in input modules. Using ComPtr to manage DirectInput ↵ Brad Hughes2016-03-181-8/+2
| | | | resources.
* Rewrote overly complex rawinput_device_improve_name function for rawinput ↵ Brad Hughes2016-03-181-1/+2
| | | | module, plus fixing some other defects in input modules as detected by coverity.
* With latest package from MSYS of clang 3.8.0 build at least compile fine on ↵ Miodrag Milanovic2016-03-111-8/+5
| | | | | | windows (nw) Strange crashing while executing
* cleanup (nw) Miodrag Milanovic2016-02-291-1/+0
|
* Refactor OSD input into modules Brad Hughes2016-02-281-0/+427