Commit Graph

255 Commits

Author SHA1 Message Date
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
adelikat d12a16db45 Atari 7800 peripherals! 2014-06-29 00:07:17 +00:00
adelikat 3bf5b75adc SNES - remove players 3 and 4 from controller definition since they aren't currently used, virtual pad - dynamically generate number of controllers based on controller definition 2014-06-28 22:59:04 +00:00
adelikat b24f6406a9 Virtualpad - fix positioning of pce controller buttons 2014-06-28 22:50:57 +00:00
adelikat 49bbafd305 Virtualpads - start C64, keyboard only has 1 key, will need to do the rest 2014-06-28 19:25:11 +00:00
adelikat 4cda40b5b7 Ooops, remove some testing variables 2014-06-28 19:16:20 +00:00
adelikat 90e95752e4 Wonderswan - Mnemonics and Virtualpads, virtualpads are a bit clunky with Standard and Rotated showing at all times, perhaps at some point we should be smart about knowing the rotated state 2014-06-28 19:07:18 +00:00
adelikat 0f64fa9a8a Virtualpads - coleco 2014-06-28 18:12:04 +00:00
adelikat 58d96a6806 virtualpads - snes controls 2014-06-28 16:52:31 +00:00
adelikat bb55423d79 virtualpads - Saturn controls 2014-06-28 16:31:25 +00:00
adelikat db44bd2c1a GB virtual pad fix ups 2014-06-28 16:16:48 +00:00
adelikat 49ef408f06 GBA virtual pad fix up 2014-06-28 16:13:58 +00:00
goyuken 92bf602a70 genesis virtualpad fixup 2014-06-28 15:59:26 +00:00
adelikat 676d1ecd0f Virtualpad - add a PlayerCount property to ControllerDefinition with a rather crude but effective implementation for now, and use it when populating PCE virtualpads, so it will dynamically generate the correct values should PCE's number of controllers ever become configurable 2014-06-28 15:56:20 +00:00
adelikat 8ee00a2996 Virtualpads - atari 7800 2014-06-28 14:19:46 +00:00
adelikat de8bcf6b92 Virtualpads - atari 2600 2014-06-28 14:14:50 +00:00
adelikat 9378dc5921 N64 - oops 2014-06-28 12:58:13 +00:00
adelikat 88d4a2a5a8 Genesis mouse - mnemonics, default buttons and virtual pad 2014-06-28 12:45:12 +00:00
adelikat 1361e2ff23 Genesis - default controls for lightgun, mnemonics lightgun buttons, support lightgun and console buttons on the virtual pad 2014-06-28 12:31:28 +00:00
goyuken a1b03a4a20 genesis: virtual pad support multitap 2014-06-27 17:59:45 +00:00
adelikat 75d4ff5117 Virtualpads - refactor schema objects to return a PadSchema collection instead of Virtualpad collection, and create the pads in the calling code 2014-06-27 17:02:46 +00:00
adelikat 92e0865b3f oops 2014-06-27 16:31:42 +00:00
adelikat e469cb73f2 Virtualpads - fds console buttons (including dynamically adding number of disk insert buttons) 2014-06-27 16:30:54 +00:00
adelikat 8c287ecc79 Virtualpads - nes console buttons 2014-06-27 14:09:28 +00:00
adelikat c0da15b002 Virtual pads for SMS and GG 2014-06-27 02:45:27 +00:00
adelikat f3cac5deff Virtualpads - fix readonly notion, no longer crashy when no pads are set up 2014-06-27 01:45:30 +00:00
adelikat 20ab331404 Virtual Pad - fix logic for genesis, supports 3 button, 6 button or none options 2014-06-27 01:37:09 +00:00
adelikat a33f926675 Do genesis controller logic for none, one player, and "normal", don't know what the other options mean 2014-06-26 21:09:14 +00:00
adelikat 0fa75a5d77 Virtualpads - fix 3 vs 6 button controller logic in genesis 2014-06-26 20:59:00 +00:00
adelikat 12cd706a69 Virtualpads - implement sticky toggle 2014-06-26 20:37:44 +00:00
adelikat 2a78b5c743 Virtualpads - fix up some Readonly logic 2014-06-26 20:36:33 +00:00
adelikat 0e8bf4883f Virtualpads - some UI stuff 2014-06-26 20:24:30 +00:00
adelikat fcc3ce214b Virtualpads - wire up read-only toggle behavior and remove hacky button 2014-06-26 20:07:07 +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 5f71bf11c8 N64 - dynamically generate buttons in controller definition based on connected controllers, Virtualpads - show pads based on connected controllers 2014-06-25 02:18:11 +00:00
adelikat d6e56bf9fb Virtualpad - Start support for family basic keyboard 2014-06-25 00:56:20 +00:00
adelikat fbb14175f9 Support Oeka Kids Tablet in virtualpads and bk2 mnemonics, oh yeah 2014-06-25 00:44:22 +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 a1926e1a58 Make virtualpads prettier including a Display name that can (should) be set in the schema, and an optional Max Size (defaults to default size if left out), added lots of nes stuff, and basic 2 player famicom (including microphone on player 2) 2014-06-24 23:32:30 +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
adelikat 22dc432199 Virtual pad button - slight ui tweak 2014-06-24 16:49:23 +00:00
adelikat 118d69a669 Virtual pad progress 2014-06-24 16:36:19 +00:00
adelikat 3208440225 Virtual Pads - basic analog button control and wire up to NES arkanoid paddle 2014-06-24 12:58:08 +00:00
adelikat 73ed79e270 Virtualpads - remove system id switch and use reflection to find schemas with a matching SchemaAttribute of the current SystemId 2014-06-24 00:26:35 +00:00
adelikat bb93dd0d42 Virtualpads - make a custom attribute for schema objects instead of using the Description attribute 2014-06-23 23:46:44 +00:00
xmikecampx7 4c5570eea3 2014-06-23 23:25:08 +00:00
xmikecampx7 886681bb9d Schema GamePads Added 2014-06-23 14:13:07 +00:00
adelikat 897e7b9bd1 Virtualpad - fix up PceSchema 2014-06-23 13:44:06 +00:00
xmikecampx7 20200adf3a Adding Buttons to Schemas 2014-06-23 01:43:33 +00:00
zeromus 501a23af24 entire virtualpad window should not be a mouse input receiver 2014-06-23 00:34:43 +00:00
adelikat bf33ba0575 Virtual Pads - support quicknes (2 controllers only at all times) and Neshawk for 2 controllers that are none, standard, or zapper (no multitap, no famicom stuff) 2014-06-23 00:05:22 +00:00
adelikat 4b23150d14 Some fixing up of how pads are added, don't set 0,0 on the TartScreen widget when clearing 2014-06-22 23:32:37 +00:00
zeromus 140aec6a4d add system for controlling which forms can generate mouse input 2014-06-22 23:20:36 +00:00
adelikat b364b5c48f implement TargetScreen virtual pad and wire up to Nes zapper 2014-06-22 21:50:27 +00:00
adelikat a248e2d99b Virtual Pads - analog stick should be done now (including max X,Y constraints) 2014-06-22 17:41:13 +00:00
adelikat 50dafe1269 Virtualpads - more stuff 2014-06-22 16:30:24 +00:00
adelikat 2009e07e35 Virtualpads - Some Progress 2014-06-22 15:43:45 +00:00
adelikat 41e4a3b13a Virtualpads - more progress 2014-06-22 15:05:37 +00:00
adelikat c15f9ce84d Virtualpads - Use VirtualPadButton instead of Checkbox (to give all buttons right-click autofire capability) 2014-06-22 14:50:23 +00:00
adelikat c3bcc0cbc8 Virtualpads - more reorg 2014-06-22 14:43:59 +00:00
adelikat e9968657ac Virtualpads - some reorg 2014-06-22 14:37:40 +00:00
adelikat 27532b7b2b Start schema objects 2014-06-22 14:29:46 +00:00
adelikat 60d1784895 Delete old virtualpad files 2014-06-22 14:13:10 +00:00
adelikat 885f859647 add new files 2014-06-22 13:58:12 +00:00
adelikat 269b3c7ee1 start a new Virtual Pad Tool, currently only does NES with one controller as a proof of concept, this is probably a messed up commit will fix next 2014-06-22 13:57:23 +00:00
adelikat 3eff547413 Remove some more usages of GetInput() 2014-06-18 02:39:29 +00:00
adelikat 6b73891a91 More bk2 progress 2014-06-15 14:44:26 +00:00
adelikat c807e27496 Some movie code reorg and cleanup 2014-06-15 13:03:24 +00:00
adelikat 51822a9ce1 Wonderswan - virtualPad - fix movie playback 2014-06-01 21:05:57 +00:00
adelikat f146875452 VirtualPad support for Wonderswan 2014-06-01 20:44:13 +00:00
adelikat f02448b769 N64 Virtualpad - make clear button also clear the analog control 2014-06-01 19:51:35 +00:00
adelikat b4deb97587 Remove the same bogus logic that was in the mnemonic system for parasing analog input, this time in another bogus place bogusly copy/pasted and equally bogus logic, fixes N64 virtualpad playback behavior 2014-05-18 00:40:32 +00:00
adelikat d33a545605 Virtual Pads - Fix out of range exception when virtual pad is open, a movie is playing, and the movie goes into finished mode 2014-05-18 00:09:01 +00:00
adelikat f88640fddb N64 VirtualPad - when a movie is active show the previous frame's line on the analog control 2014-05-16 13:40:21 +00:00
adelikat fd5c40d3f4 Virtual Pads - support Dual Gameboy pads, don't allow the switching of multiplayer unless the system has mutliplayer 2014-05-11 23:30:49 +00:00
adelikat 1e48111092 Virtual Pad - ability to toggle between single player and multiplayer and remember the setting in the config 2014-05-11 23:08:34 +00:00
adelikat abac70d592 VirtualPad - some code cleanup on last commit 2014-05-11 22:32:16 +00:00
adelikat 0abaeebb9d Virtual Pads - fix Updating when movie is playing, and by removing a lot more code than I wrote 2014-05-11 22:27:20 +00:00
adelikat d9ec48bb49 VirtualPads - move "Add Controller" to being a menu item instead of a clickable sub menu cuz that's weird. And change its name to "Multiplayer mode" as that is more specific to what it is doing (it adds all controllers beyond player 1, not just another one) 2014-05-08 20:46:32 +00:00
xmikecampx7 ae655b9dbc Added back default Max/Min values for N64 VirtualPad, so that it properly loads without the need to set Max/Min. 2014-05-08 17:40:01 +00:00
adelikat 0b6795fffc Some misc cleanup of redundant qualifiers 2014-05-04 14:10:28 +00:00
xmikecampx7 b5c0be3f7f Added Min/Max ranges for N64.
Added the option to add more controllers.
2014-04-27 17:38:30 +00:00
adelikat fd42606cc0 N64 Virtual Pad - only tab stops on analog boxes 2014-04-13 13:14:00 +00:00
adelikat 3dfcd8b22a drastically cleanup the InputValidate class 2014-02-03 19:37:43 +00:00
adelikat 8e2fa8a31b Virtualpads - simplify some boilerplate logic 2014-01-31 01:53:20 +00:00
adelikat 83be118d03 Virtual Pads - implement Always on Top and Floating Window and lots of code cleanup 2014-01-31 00:53:20 +00:00
adelikat b445a7adf1 Virtual pads - Hook up 2 6 buttons and a Reset+Power Control pad to Genesis, fix Saturn vpad to clear Start button on clear, Support power button on NES control pad.
Wire up Reset and Power to Genesis mnemonic and input display systems.  This invalidated any previous movies recorded on this core (nobody should actually using an experimental core anyway)

Generic Config Settings - dont' show default icons!
2014-01-03 01:06:24 +00:00
adelikat 9ab2be558c rip out existing tastudio logic and replace it with a skeleton project that does nothing 2013-12-01 04:00:02 +00:00
adelikat e81e4238de really fix numerics in n64 virtual pad 2013-11-16 14:35:42 +00:00
adelikat 8186e1eddf fix typing into numeric boxes on N64 virtualpad 2013-11-16 04:21:47 +00:00
adelikat d840c9fb8c analog control panel - fix bug that was causing things to not update on mouse move 2013-11-16 03:27:43 +00:00
adelikat cce98bcfe4 VirtualPads - allow smaller minimum size, add a clear button for people who don't think to right-click 2013-11-16 02:36:42 +00:00