Finally, in case you want the source code for the Config Tool itself, you can grab it here:
Edited by mjr, 07 May 2016 - 07:43 PM.
Posted 04 May 2016 - 07:32 PM
Edited by mjr, 07 May 2016 - 07:43 PM.
Posted 04 May 2016 - 10:36 PM
as always your the man MJR
EDIT: I had to point this out... I guess about maybe a year or less ago, I was building a cab for a friend... and wanted to use the same setup I have in my cab (pinscape w/optical plunger)
after about a dozen atempts to get it working i had no luck.... so I returned the optical sensor , got the new one, same thing... just wouldnt work... soldered, resoldered new wires.... in the end i had to give up and use a linear pot... it worked fine... he has had no issues
fast forward to today:
I had the setup laying in a box still all wired up, I was going to send it to MJR...I decided it wasnt worth his time so it sat in the box
hooked it up to a spear PC and ran the new V2.0 on the control board.... so now with the new firmware installed it all it working perfect??
what i dont get it was setup exact to my working setup in my cab.... I just dont get why v1.0 worked on my cam and not on this other hardware, but v2.0 does.... craziness!!
anyway thanks MJR.... this new config tool is VERY professional looking and in function
Edited by hauntfreaks, 05 May 2016 - 01:58 AM.
Posted 04 May 2016 - 10:49 PM
Wow! This would have saved me so much time and grief setting up a keyboard encoder, nudge, mapping keys on software, etc. I am using V1 now but only for nudge, so I hope to upgrade to V2 and get rid of my redundent keyboard encoder. Should really help tidy up my wiring. Thanks for this -- I can't wait to try it!
Posted 05 May 2016 - 05:18 PM
so I wanted to take a look at the setting tab... when i click it i get this error
Out of curiosity, what version of IE do you have installed? I have a wild guess about what might be going on that would involve a difference in the web-control behavior from the one I test with. Try this fix to see if it helps:
http://www.mjrnet.or...ix20160505a.zip
That just contains one file (basically the implementation file for the Settings page) - unzip that file into the 'html' folder in your config tool install folder, replacing the current one, and see if that helps. (Make sure that your UNZIP program doesn't create an HTML subfolder of your HTML folder - you need to replace the existing file, not create a new file in a new subdirectory.)
Thanks mjr! Looking forward to giving this a go when I get back from Allentown! You had mentioned the new code may handle the issues I've seen with my leaf switches on my flipper buttons a little better, is that the case?
Yep, it has the new debouncing code. The change is that it polls the physical switch state faster and can therefore do more conservative debouncing without adding lag time. Hopefully it'll help for your setup.
I had the setup laying in a box still all wired up, I was going to send it to MJR...I decided it wasnt worth his time so it sat in the box
hooked it up to a spear PC and ran the new V2.0 on the control board.... so now with the new firmware installed it all it working perfect??
what i dont get it was setup exact to my working setup in my cab.... I just dont get why v1.0 worked on my cam and not on this other hardware, but v2.0 does.... craziness!!
That's surprising, but a good kind of surprise. It's possible that the problem in the past was that your light source was slightly too bright and was saturating the sensor. The new software has a faster "shutter speed", so the same light level will produce a darker image in each frame. Maybe that got you under the threshold where there's enough contrast to be usable.
Whatever it was, I'm glad it's finally working for you!
Posted 07 May 2016 - 05:12 PM
Hey MJR this V2 is really nice. Love all the easy to use features and setup options.
I'm having trouble getting the keyboard mapping to function. With all the defaults, buttons show active and work in game controller properties. When I remap to a keyboard key instead, it no longer lights up in game controller properties (as I would expect) but it also does not actually perform the keystroke. I was just testing in notepad.
What steps should I try to troubleshoot why it may not be sending the keyboard keys?
Thanks!
-Mike
Posted 07 May 2016 - 06:31 PM
Hey MJR this V2 is really nice. Love all the easy to use features and setup options.
I'm having trouble getting the keyboard mapping to function. With all the defaults, buttons show active and work in game controller properties. When I remap to a keyboard key instead, it no longer lights up in game controller properties (as I would expect) but it also does not actually perform the keystroke. I was just testing in notepad.
What steps should I try to troubleshoot why it may not be sending the keyboard keys?
You're right that the buttons will stop showing up in the game controller panel if you remap them to keyboard keys. The game controller panel is specifically showing joystick buttons, and once you remap a button as a key, it no longer "presses" the joystick button.
The first thing to look at is to make sure that the device is showing up properly as a USB keyboard. If you open Device Manager, and go to the Keyboards section, you should see an entry for "HID Keyboard Device". If your actual keyboard is USB as well, you'll have a second entry for that. To confirm that the "HID Keyboard Device" entry is the Pinscape device, double-click it and go to the Events tab. In the Information box, you should see something like this:
Device HID\VID_FAFA&PID_00F7&MI_01...
The VID_FAFA&PID_00F... part is the important bit - if you see that, it's the device we're looking for. Now go back to the General tab and make sure the device status says "The device is working properly".
If that all looks good, I'm not sure what else could be going on. Maybe you could post a screen capture of the setup window showing your key assignments. I assume you mapped at least a few keys to something that will show up in Notepad, like A, B, C... The reason I point this out is that things like Shift and Control keys won't be observable in Notepad because they don't add any text. But anything that corresponds to a regular letter or number or the like should show up there, so you're doing the right sort of test.
And one last thing - you're clicking the "Program KL25Z" button before testing changes, right? Changes you make in the settings window don't go live until you program them into the device.
Edited by mjr, 07 May 2016 - 06:32 PM.
Posted 07 May 2016 - 06:44 PM
Just double-checked it on my system, and it looks like I added a bug in the first release version that broke the key input!
I just fixed it, so try grabbing the latest firmware. If you run the config tool, it should find it and download it automatically, so you should see it offered when you go to the Update Firmware page. It should show up at the top of the list with the 2016-05-07-1839 time stamp. Hopefully that'll fix it for you.
Edited by mjr, 07 May 2016 - 06:46 PM.
Posted 07 May 2016 - 06:54 PM
i'm still having some script issues.... does the settings menu need to run in IE?... that isnt my default browser.... when I force it to use IE... I ger a security warning... then when I disable this warning it continues to say it couldnt let the script run
the new firmware and calibration is working fine... just not the setting menu
Posted 07 May 2016 - 07:08 PM
i'm still having some script issues.... does the settings menu need to run in IE?... that isnt my default browser.... when I force it to use IE... I ger a security warning... then when I disable this warning it continues to say it couldnt let the script run
the new firmware and calibration is working fine... just not the setting menu
Oh, I think you might be trying to run the .htm file directly - maybe you're double-clicking on it in the Windows desktop, or trying to load it into Chrome or FireFox or IE?
Don't!
Just run PinscapeConfigTool.exe. All of the .htm files run inside that.
(Sorry for the confusion if that was indeed the problem! I would have preferred to bury all those files inside the .exe as resources so that they're not out there looking like browser files, but there doesn't seem to be a good way to do that in C#.)
Edited by mjr, 07 May 2016 - 07:24 PM.
Posted 07 May 2016 - 07:33 PM
Just double-checked it on my system, and it looks like I added a bug in the first release version that broke the key input!
I just fixed it, so try grabbing the latest firmware. If you run the config tool, it should find it and download it automatically, so you should see it offered when you go to the Update Firmware page. It should show up at the top of the list with the 2016-05-07-1839 time stamp. Hopefully that'll fix it for you.
That fixed it! Thanks for the fast response!
-Mike
Posted 07 May 2016 - 07:46 PM
Just double-checked it on my system, and it looks like I added a bug in the first release version that broke the key input!
I just fixed it, so try grabbing the latest firmware. If you run the config tool, it should find it and download it automatically, so you should see it offered when you go to the Update Firmware page. It should show up at the top of the list with the 2016-05-07-1839 time stamp. Hopefully that'll fix it for you.
That fixed it! Thanks for the fast response!
Great - glad to hear it fixed it!
heres a video of how i'm running the tool and what is happening in my case....
Yeah, there's some version incompatibility going on. Did you ever tell me what version of Windows and IE you have installed? I'll need to see if I can set up a test bed with the same versions to see what the problem is.
And did you ever try that updated .htm file I sent you?
Edited by mjr, 07 May 2016 - 07:48 PM.
Posted 07 May 2016 - 07:50 PM
I never up my IE because i dont use it... so I'm guessing its 8 but will go down and check
You should probably update it to the latest. Even if you don't use it as a browser, it's a critical system component that lots of software (like this one!) uses under the covers.
I also need to know your Windows version - that might be the problem as well. I test on Win 7 and Win 8.
Edited by mjr, 07 May 2016 - 07:51 PM.
Posted 07 May 2016 - 08:15 PM
some of us..uumm... cant upgrade to 11 <wink wink>
it would be awesome to use all the features, but no biggie if i cant, I can use the latest firmware, and plunger config so... there the most important...
Okay... not sure there's much I can do about IE8, unfortunately. It's notoriously incompatible with all of the modern standards, but the big complication is that I don't think I have any systems that are still capable of running it.
Emulation Station →
Virtual Pinball Cabinets →
Pinscape Build Guide AsciiDocStarted by ConcurrentRecursion , 22 Jan 2024 Pinscape |
|
||
Visual Pinball →
Visual Pinball →
1. got issues to remap the keys from the FRDM-KL25Z i cannot see Button 1 (Digital in)Started by regismaltais , 30 Dec 2023 pinscape |
|
||
Emulation Station →
Virtual Pinball Cabinets →
KL25Z - pinout for accelerometer to map to a trigger/button?Started by KillerQ , 18 Oct 2023 Nudge, pinscape, ipac |
|
||
Visual Pinball →
VP Help Center →
How to uninstall/delete pinscape controller?Started by Vicinus , 23 Aug 2023 Pinscape |
|
||
Virtual Pinball →
Frontends and Addons →
PuP with Pinscape shifted buttonsStarted by ocrts , 24 Jun 2023 PuP, Pinscape, Shifted button |
|