| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
| |
Fixes #1334
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
- input modules exit() is called twice. Remove the unnecessary input_exit() method
- removed unnecessary pointer init in handle_input_event and should_hide_mouse
- When registering event callbacks in SDL, don't assume the SDL enum values are int-sized
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
* Make ARRAY_LENGTH cause a compile error if used with a pointer/vector
* Clean up text input code, move common operations to inline templates
* Fix numerous one-byte buffer overruns
* Don't flat-out ignore input beyond the C1 hole
* Fix decoding of SDL text input
|
| | |
|
| | |
|
| |
|
|
| |
This reverts commit 5e831f6506ee06f8c30cb113551ee0fec53804db.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
Adding handler for the right mouse button in the main menu, calls the machine configuration.
|
| |
|
|
| |
SDL in total (nw)
|
| | |
|
| | |
|
| |
|
|
| |
compiler directive from the input refactor.
|
| |
|
|
| |
experimental code (nw)
|
| |
|