Commit Graph

22 Commits

Author SHA1 Message Date
YoshiRulz 8c059aa43c
Replace helper methods with readonly bool IsUnixHost and cleanup 2019-11-04 14:30:05 +10:00
adelikat 942d9fc75e Simplify OS checks with some helpful methods 2019-11-03 16:04:42 -06:00
adelikat 7936797a9d Custom controls house cleaning - remove a bunch of unused controls, do some cleanups 2019-11-02 10:08:06 -05:00
J.D. Purcell 23433b856f Hotkey/controller config: Fix issue where input events get queued and processed by the main form after the dialog is closed. For example if you opened the hotkey config, typed "-" in the search box, and closed the dialog, it would trigger Decrease Speed in the main form. Also redo an old hack fix the right way. 2019-10-20 13:47:22 -04:00
J.D. Purcell 4eea88a988 Hotkey Config: Fix when binding key combination if the modifier is released first (e.g. Ctrl+C with Ctrl released first). 2019-10-19 20:51:04 -04:00
YoshiRulz 58c738957c
Rename PlatformLinkedLibSingleton and children 2019-05-18 15:40:46 +10:00
YoshiRulz d76e1a8a8b
Refactor PlatformLinkedLibSingleton and replace RunningOnUnix with CurrentOS 2019-05-18 15:30:29 +10:00
James Groom 42764f0019 Add preliminary Unix compatibility (using Mono; resolves #1384) (#1380)
* Move PlatformSpecificLinkedLibs and implementations to common and rename
* Specify file ext. at LoadPlatformSpecific call site
* Move Client.Common.Global.RunningOnUnix to PlatformLinkedLibSingleton
* Inline var Resolver
* Use PlatformLinkedLibManager internally
* Move plugin load check to LinkedLibManager, use LinkedLibManager
* Interpolate
* Return exit code from dlclose/FreeLibrary
* Skip all calls to externs in BlipBufDll when using mono
* Use PlatformLinkedLibManager in SevenZipLibraryManager
* Add expected return value to workaround (from testing on Win32)
* Remove ".dll" from DllImport attr, remove temporary workaround, see desc.
The library can be built by changing the output file name in
`.../blip_buf/Makefile` to `libblip_buf.so`, and running `make`. It will be
loaded if placed in the `.../output` folder.
* Remove unused code, add TODO (this class is req. for Waterbox.PeWrapper)
The TODO is to [rewrite with
C#](https://docs.microsoft.com/en-us/dotnet/standard/io/memory-mapped-files)
instead of importing from `kernel32.dll`.
* Update OpenTK again but better (for #1384)
* Add Mono run script
* Add libblip_buf.so (temporary)
Temporary because it should be a separate package which BizHawk depends on.
* Add distro detection, add "already running" and "unknown distro" messages
* Gray-out Lua Console on Unix
* Extract superclass from EmuLuaLibrary, add shell implementation for Unix
* Specify libdl version, Fedora doesn't have the versionless symlink
* Remove empty `ToolStripMenuItem`, null `Text` caused crash on Unix
* Transform OpenTK keyboard input into a `List<KeyEvent>` and read that
Also fixes crash on rebind
* Remove debug `using ...;`
2019-01-04 01:50:55 +03:00
adelikat 078dc4ddb1 misc cleanups in remaining config files 2017-05-31 10:28:06 -05:00
nattthebear ebe789eed2 heh 2017-05-10 07:45:23 -04:00
zeromus 8c1eaf25ff system for more thorough tooltips in hotkey and controller config dialogs (so, for instance, the function of a key can be described) 2014-11-07 16:58:27 +00:00
zeromus 6428b07d0a make input binding limitless (instead of limited to 4). at the same time, fix bugs caused by index accounting related to the limit. 2014-10-11 08:43:26 +00:00
adelikat a2829f8d9a Input Widget - if assigning a button with autotab on, if the button is not the same as the first position value, clear all bindings first. Makes for a less confusing user experience when remapping joypad buttons 2014-06-21 20:02:31 +00:00
adelikat 500bbaf3c1 Controller Config - add a Clear button 2014-06-04 15:00:53 +00:00
adelikat bcf2924a23 InputWidget - make highlight color a bit darker because it is hard to see on Windows 8, thanks Microsoft 2014-05-11 20:29:08 +00:00
adelikat 48365516c0 Input Widget - restore tooltip functionality that got deleted at some point 2014-05-05 21:43:46 +00:00
zeromus e6a979bfd3 escape can now be bound through the special bindings dropdown menu 2014-04-22 19:47:02 +00:00
zeromus bb98f7d5b0 fix new bugs in hotkey/input binding process 2014-04-22 19:23:52 +00:00
zeromus c7e37753bf Instead of InputWidget, use new InputCompositeWidget UserControl which includes a button you can use to summon a contextmenu of special bindings (such as WMouse L), which the textbox part (still InputWidget) will ignore otherwise. 2014-04-19 21:03:49 +00:00
adelikat 2c0804eede Input config - when autotab is off, fix bug where pressing esc was not updating the textbox, also some formatting cleanup 2014-02-08 16:15:07 +00:00
adelikat ad39eb36f4 Input Widget - use SysColors.Window when exiting the widget, not SysColors.Control, also clean up some code in that file while I'm at it 2013-11-27 23:52:21 +00:00
adelikat c669680e07 Rename Multiclient folder 2013-11-03 04:05:56 +00:00