Commit Graph

62 Commits

Author SHA1 Message Date
adelikat ba4af238b7 VirtualPads - PSX NeGcon support, also slider controls now support vertical orientation 2017-04-29 14:47:51 -05: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
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
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 0787a3be47 rework virtual pad analog widget to support n64 and psx simultaneously 2015-07-19 21:46:52 -05:00
adelikat 73c1bedd9e Virtual Pad buttons - don't do anything on space, tab, and shift+tab 2015-02-14 03:51:29 +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
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 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
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
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
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
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 b69b141a05 VirtualPads - fix issue 225 - properly clear the analog stick when right-clicking 2014-07-26 13:59:06 +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 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 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
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 27fb2ce9a0 Virtualpad Analog sticks - in record mode show the previous frame's input in gray 2014-06-29 14:42:20 +00:00
adelikat ee6d73aac7 Virtualpads - some code cleanup 2014-06-29 03:14:40 +00:00
adelikat 2a78b5c743 Virtualpads - fix up some Readonly logic 2014-06-26 20:36:33 +00:00
adelikat c58141034b VirtualPads - tweak readonly colors for Analog Stick and for now, rip out the "previous frame" concept in the analog stick since it doesn't work correct and not thought out 2014-06-26 13:29:43 +00:00
adelikat 39e7039341 VirtualPads - progres on ReadOnly for AnalogStick 2014-06-26 03:30:56 +00:00
adelikat c21ab3e22d VirtualPads - implement readonly for AnalogButton control 2014-06-25 21:31:17 +00:00
adelikat 44686b287d VirtualPad - implement ReadOnly on TargetScreen control 2014-06-25 21:26:15 +00:00
adelikat 82d6490532 VirtualPads - implement Set on TargetScreen control 2014-06-25 21:11:25 +00:00
adelikat 4d9f46c6a1 Implement read-only for VirtualPadButton 2014-06-25 20:40:20 +00:00
adelikat 9c601da269 Virtualpads - add a Readonly property to IVirtualPadControl, and some cleanup, readonly not wired up on any pad yet though 2014-06-25 17:26:07 +00:00
adelikat 3c1ececb14 Virtualpads - some reorg 2014-06-25 17:18:14 +00:00
adelikat 9045f8402c Virtual Pads - hook up Nes Power Pad and also hook it up to bk2 mnemonics 2014-06-25 00:11:59 +00:00
adelikat 095f16baef Virtual Pad - analog stick - some cleanup and fixes, gray bar is still busted though 2014-06-24 17:48:25 +00:00
adelikat 7e8f0f74bc Virtual Pad - some analog stick tweaks 2014-06-24 17:30:14 +00:00
adelikat 7fa551708f Virtual Pad - get analog button working on movie replay 2014-06-24 17:12:20 +00:00