Commit Graph

255 Commits

Author SHA1 Message Date
adelikat b39c2dccf0 NGP - mnemonic for Option button, Virtualpad support 2017-06-06 11:07:16 -05:00
adelikat 87ce1086cb snes9x - virtualpads 2017-06-04 19:44:25 -05:00
adelikat 50b5f4a1a9 Virtualpad misc cleanups 2017-05-24 09:07:03 -05:00
adelikat a9ba93fcf3 C64 virtual pad - fixing mapping of joypad B buttons 2017-05-13 16:45:18 -05:00
nattthebear ebe789eed2 heh 2017-05-10 07:45:23 -04:00
adelikat c33fbfddf4 Colecovision - virtualpad support for new controller options 2017-05-07 10:04:15 -05:00
adelikat 436a853c96 Fix typo - Scema -> Schema 2017-04-29 15:41:27 -05:00
adelikat 19f45dcc85 VirtualPads - PSX Multitap support 2017-04-29 14:57:27 -05:00
adelikat ba4af238b7 VirtualPads - PSX NeGcon support, also slider controls now support vertical orientation 2017-04-29 14:47:51 -05:00
adelikat f6f967a723 VirtualPad - start PSX NeGcon support 2017-04-27 16:52:50 -05:00
adelikat 30aa86cd7e Intellivision - more cleanup 2017-04-23 11:10:26 -05:00
adelikat 76f77390ca SNES - virtual pad support for all the controller types and combinations 2017-04-22 11:55:21 -05:00
J.D. Purcell b53502eed8 Spaces -> tabs. 2017-04-15 16:37:30 -04:00
adelikat 1e05e8a29d Virtual Pad - add tilt controls to GBA when mGBA is the core. Fixes #830 2017-04-13 13:06:12 -05:00
adelikat 8c57dd98f3 NESHawk - add IsFDS flag and use it in NesSchema instead of a check for BoardName == "FDS" 2016-12-13 15:24:53 -06:00
adelikat b7e616482d Intellivision - movie mnemonics and virtual pads 2016-12-06 20:16:22 -06:00
adelikat f1e528f68f Virtual pads - pass the current core into schema objects instead of using Global.Emulator 2016-12-05 19:33:21 -06:00
adelikat d954512214 Virtual Pads - Analog Sticks - check min and max range before setting the value. Fixes #686 2016-09-21 10:13:30 -04:00
zeromus a7d2b8d7f7 * add a new IToolForm update mechanism which has extensible update points (so a tool can both pre- and post- update)
* make trace logging "core-pushes" model, to a sink installed by the frontend. This sink can go straight to the disk without wasting memory if that's what the Trace Logger tool has selected; or the Trace Logger will buffer it if it needs to.  Formerly, we had a "core-pushes-to-buffer" and "client-pulls-once-per-frame" which necessarily caused huge buffers no matter what was going on.
2016-08-13 15:31:26 -05:00
adelikat e9d257ce6d PCE-CD virtual pads 2016-07-10 22:13:40 -04:00
Hathor86 9a4dd89f7f Fix polar coord when center is non-zero
The range is now used to compute right angle / ray value even if the
center is not 0,0
Tested for N64 and PSX, should probably work for every system :)
2016-06-14 19:31:54 +02:00
nattthebear ec787d049d NESHawk: support SNES controllers 2016-04-05 17:16:27 -04:00
zeromus 9aceb512f0 fix automation of virtualpad analogsticks from movie playback 2016-03-21 16:13:49 -05:00
Hathor86 f145f3cc68 Polar Coord
- Add polar coordinates to VirtualPadAnalogStick
- Update N64 pad Schema as VirtualPadAnalogStick is a bit larger
- Add Clamp method to NumberExtensions (allows a IComparable<T> value to be restriced between 2 specified other values)
2016-01-23 22:56:41 +01:00
zeromus c9838d668a psx - hook up new controller configuration, to support 0-2 pads and 0-2 memcards. Not tested very well yet. no multitap this release. 2015-10-03 17:27:52 -05:00
zeromus 0787a3be47 rework virtual pad analog widget to support n64 and psx simultaneously 2015-07-19 21:46:52 -05:00
adelikat 58f8ad7c12 Issue #422: Virtual Pads - analog stick - when sticky option is off, and the emulator is unpaused, do not snap to 0 until the mouse button is released 2015-07-10 14:36:29 -04:00
adelikat 9f0e4f0735 Apple II VirtualPad - fix up names now that we have them 2015-05-18 01:34:35 +00:00
adelikat 549e9650ae oops, didn't mean to check this in 2015-05-18 00:38:27 +00:00
adelikat 9024df91f5 Virtual pad for Apple II, many of the names will have to be cross referenced with the core when those buttons are added 2015-05-17 23:05:12 +00:00
adelikat 73c1bedd9e Virtual Pad buttons - don't do anything on space, tab, and shift+tab 2015-02-14 03:51:29 +00:00
adelikat e211cfdcf3 PSX - virtualpad support for non-dualshock controllers 2015-02-05 21:42:28 +00:00
adelikat 4eda12a8b0 PSX - Virtualpad - pay attention to the number of conntected controllers - still todo: schema for Gamepad and DualAnalog 2015-02-01 14:02:01 +00:00
zeromus 9b5a5e69d4 psx - improve behaviour of initial disc state at frame=0 2015-01-12 07:32:52 +00:00
jdpurcell 4ae3060ae5 Fix/cleanup override X/Y stuff. 2015-01-01 22:20:19 +00:00
jdpurcell 260176e458 Fix NES Zapper target being 210 pixels tall instead of 240.
Fix max X/Y value of target being high by 1.
2015-01-01 22:14:03 +00:00
adelikat bdae0c359b VirtualPad - use an IEmulator service and remove references to Global.Emulator 2015-01-01 19:15:32 +00:00
adelikat 1ee7cfc153 Convert Virtualpads to IToolFormAutoConfig 2015-01-01 18:42:08 +00:00
jdpurcell eacadc8e09 Apparently UserControls that are created dynamically need AutoScaleMode.Font. UserControls placed via the designer should use AutoScaleMode.Inherit. Actually it seems possible to get around the problems of dynamically created UserControls (including the need to manually scale the positions/sizes) by moving their creation into the constructor after InitializeComponent, adding SuspendLayout before InitializeComponent, and adding ResumeLayout after UserControl creation. But I don't want to risk moving the code around too much. 2014-12-31 05:34:21 +00:00
jdpurcell 19bdb01adc Small tweak to previous commit. 2014-12-29 00:59:40 +00:00
jdpurcell 7b4c5636bd Improve scaling. Still needs some work but it's better than it was. 2014-12-28 23:58:45 +00:00
jdpurcell 30d3b02a7f Auto scaling: All forms should have AutoScaleMode set to Font.
Auto scaling: All user controls should have AutoScaleMode set to Inherit (i.e. they inherit their containing form's AutoScaleMode, in this case Font). Explicitly setting an AutoScaleMode on user controls causes problems with child controls anchored to the bottom and/or right.
Remove explicitly set font in GenGameGenie form. Fonts set on the form/user control level cause problems with auto scaling.
Fix text box anchoring in DualGBFileSelector control.
2014-12-28 21:19:34 +00:00
adelikat fea5156c31 Virtualpads - fix Atari 2600 B button 2014-12-22 01:36:54 +00:00
zeromus 4dc4745122 psx - revise disc swapping method. way cooler now, you get a list of discs in the virtualpad box, and changing between them maps to physical operations more logically. 2014-12-19 03:24:48 +00:00
adelikat 84f1ba2dd4 PSX - enable 2nd dualshock controller, add 2nd controller to virtualpad 2014-12-16 23:44:23 +00:00
zeromus c43dd9fc34 psx - revise disc switch schema stuff; add MinValue support to analog button and tweak the pip positioning 2014-12-16 03:15:27 +00:00
xmikecampx7 00cd8573da Added Draft PSX Schema 2014-12-15 21:54:51 +00:00
goyuken 08d09bc64f a few more itoolform cleanups 2014-12-15 18:13:54 +00:00
scepheo 769cbeb1a0 - IToolForm: Added RequiredServices attribute to define dependencies, and added EmulatorServices for ToolManager to supply them.
- IServiceProvider, BasicServiceProvider: Added compile-time unknown type versions of GetService and HasService.
- ToolManager: Added IsAvailable to test whether all dependencies for a tool are available.
2014-12-13 21:54:59 +00:00
hegyak 0d8e111c55 Change the VirtualPads/schema/LynxSchema.cs from LYNX to Lynx 2014-11-21 04:19:01 +00:00
hegyak fa5c614641 Added schema/LynxSchema.cs 2014-11-20 17:45:44 +00:00
hegyak d1f0bfd89c Allow Virtual Pad to support QuickNES with One, Two or No controllers. 2014-11-19 01:01:27 +00:00
jlennox a64017366c Create ISettable<T,T2>/ISettable interfaces. This checkin has not been extensively tested. 2014-10-19 01:22:47 +00:00
zeromus e28bcf9982 unsticky analog controls when rightclicking the circle visualizer 2014-10-10 00:07:45 +00:00
zeromus 98a5016b20 fix bug that made virtualpad permanently override actual physical analog control 2014-10-09 02:19:10 +00:00
zeromus 977f7ff0dd dont draw garbage in shrunken virtualpad analog circle 2014-10-09 01:53:52 +00:00
zeromus d753b74e33 small experiment for virtualpad: clicking buttons returns control to main window. super hacky, but might work for now. analog circle control will still need help. numberupdown for analog control is probably hopeless. 2014-10-09 01:51:27 +00:00
kylelyk 321c8c64bf Added documentation to IControlMainForm, renamed a few variables, moved IControlMainForm related code in MainForm to the same region. 2014-08-19 19:24:17 +00:00
adelikat 157897ff55 Fix PCE virtualpad I, II, and Run buttons, also fix the mnemonic display for the Run button 2014-08-01 01:39:07 +00:00
adelikat 546b3f3e19 a slight work around for N64 virtualpad, a button will be the default focused widget now instead of the numeric, which avoids the "ding" problem by default (if they focus onto a numeric it will happen of course, but at least it doesn't start in this state) 2014-07-27 14:16:12 +00:00
adelikat 9469f5ac80 Virtualpads - N64 - change the positioning of buttons to better resemble a real n64 controller 2014-07-27 14:08:39 +00:00
adelikat 6039b921d2 add Yellow arrows to project and use them for the N64 C buttons 2014-07-27 13:53:25 +00:00
adelikat b4416e8317 VirtualPads - add an option "Clear clear analog input" 2014-07-27 12:39:56 +00:00
adelikat e07f143e88 Virtualpads - make analog stick a lot faster in record mode 2014-07-26 22:02:21 +00:00
adelikat dc8fa8bd87 Virtualpad - another performance improvement for Analogstick controls 2014-07-26 17:22:58 +00:00
adelikat 9210b4d9a1 Greatly improve performance of the virtualpad tool, most configurations will have no speed cost unless there is no movie, movie speeds are much improved. 2014-07-26 17:11:47 +00:00
adelikat 130f0418a9 VirtualPad - make clear all hotkey Del instead of Shift+Del 2014-07-26 15:38:00 +00:00
adelikat b69b141a05 VirtualPads - fix issue 225 - properly clear the analog stick when right-clicking 2014-07-26 13:59:06 +00:00
adelikat 570f77cc68 Implement FastUpdate() on IToolForm. The intent here is for tools to do the minimum amount necessary when updating. This allows them to avoid slow things like drawing, but do critical activities such as Ram tools incrementing change counters, and loggers can continue logging. When Turboing, instead of bypassing tool updates, the client will run the fast update instead. Note: a few tools still need to be thought out as to what they need to do in a fast update 2014-07-25 01:55:21 +00:00
adelikat 7881775d59 Fix N64 virtualpad 2014-07-21 00:41:19 +00:00
adelikat f875792c74 TAStudio - column names for float values 2014-07-07 16:03:22 +00:00
adelikat b9bb1635a1 more tweaks to the Analog Stick variable size logic, and positioning fixes to Genesis mouse schema 2014-07-06 17:02:35 +00:00
adelikat 2225811743 Virtualpad Analog stick - refactor to be variable size instead of a hardcoded 127, Implement Genesis mouse as a 255 analog stick. Note: some positioning bugginess is present in this check in, and probably some things got broken 2014-07-06 16:44:50 +00:00
adelikat 1df9f49f37 fix a typo in method name 2014-07-06 16:06:38 +00:00
adelikat e5b5daeaa0 VirtualPad Analog button - if not in sticky mode, update every frame with the current value, and a slight tweak to read-only view 2014-07-04 15:40:21 +00:00
adelikat c3b57a6ddf VirtualPad Analog button - show when the virtualpad is stickying the float value 2014-07-04 15:34:07 +00:00
adelikat 90df58abfa Virtualpads - refresh pads every frame 2014-07-04 15:15:08 +00:00
adelikat 5c8cf8b141 Virtualpad Target screen - cleanup some unneeded code 2014-07-04 15:12:14 +00:00
adelikat 3b9d99f763 Virtualpad Target screen - show when the virtualpad is sitckying the X,Y values 2014-07-04 15:09:10 +00:00
adelikat 07a337de46 Virtualpad Target Screen - fix to mouse up behavior 2014-07-04 14:25:33 +00:00
adelikat 69ea80882d Virtualpad - Targeting widget - hackery to fix movie playback 2014-07-04 00:44:57 +00:00
adelikat 49955a3447 Virtualpads - targeting pair - support ability to set a range to translate values to, and set genesis lightgun to 10000 2014-07-04 00:04:18 +00:00
adelikat 63a7e2e4c6 Virtualpads - Analog Stick - fix updating of stick value when using the X,Y numeric boxes 2014-07-02 15:38:39 +00:00
goyuken 32b2fdc368 only run r7091 in dev mode 2014-06-30 18:28:55 +00:00
goyuken 65ddaf8a30 virtual pad: schema sanity checking 2014-06-30 17:14:02 +00:00
xmikecampx7 7e3e29820f Added Genesis Activator Schema 2014-06-30 01:27:35 +00:00
christhecoolist 1024c5dc9f initial XE1AP schema (unfinished) 2014-06-30 01:09:15 +00:00
xmikecampx7 76652312e8 FamicomFamilyKeyboard Schema Setup 2014-06-30 00:36:57 +00:00
adelikat 8cf0f3b379 Virtualpads - re-implement the "bump" hotkeys 2014-06-29 23:43:31 +00:00
adelikat 9e554b7aa9 Virtualpads - target screen and analog button - make clear unsticky the float values, also fix sticky context menu item check 2014-06-29 21:16:33 +00:00
adelikat 059849d403 N64 virtualpad - allow -128, and fix exceptions if -128 was every requested 2014-06-29 20:32:28 +00:00
adelikat b6d478998b virtualpads - make c64 keyboard height smaller 2014-06-29 16:08:33 +00:00
xmikecampx7 2e60803a13 2014-06-29 16:04:23 +00:00
adelikat 27fb2ce9a0 Virtualpad Analog sticks - in record mode show the previous frame's input in gray 2014-06-29 14:42:20 +00:00
adelikat 0c5fda5cb3 Virtualpads - SMS and GG console buttons 2014-06-29 13:31:56 +00:00
adelikat 38b76ea5d9 fix N64 dpad mnemonics and virtualpad buttons, fix pce and snes virtualpad buttons 2014-06-29 13:05:10 +00:00
adelikat 115b7ecd96 Virtualpads - fix GBA buttons 2014-06-29 12:47:42 +00:00
adelikat c5f1174711 Virtualpads - fix buttons on GB, implement Dual GB 2014-06-29 12:42:44 +00:00
adelikat 01ba63dd09 Coleco/Intellivision - Replace patterns like "Key0" with "Key 0" in button names for consistency and remove a hack in bk2 code that accounts for it 2014-06-29 12:32:36 +00:00
adelikat ee6d73aac7 Virtualpads - some code cleanup 2014-06-29 03:14:40 +00:00