Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider becoming a contibuting member by either clicking this text or the Patreon link on the right.

Patreon

If neither of those of work for you, you can donate any amount by clicking here.

[RESOLVED] Keystrokes apparently don't register...


Recommended Posts

Posted

After being unable to get PinballX to do anything beyond "Sure plays a mean pin - ball", it occurred to me that my logs lacked entries for 'Exit System Control Pressed' which should have been produced by the Escape key, right? So I tried all keys and while they work on other tasks on the computer (especially VP / FP), they don't cycle the Tables wheel, select a table or close PinballX (or, probably, anything else they're supposed to do). Is there something I should check / uncheck?

Thanks; Gregg

01:10:01.8 4/11/2015: PinballX - Version 1.92
01:10:03.4 4/11/2015: Windows XP Professional Service Pack 3 (1.9GB)
01:10:03.4 4/11/2015: Loading Settings
01:10:03.5 4/11/2015: Initialize Component
01:10:03.6 4/11/2015: Initialize Display
01:10:03.8 4/11/2015: Loading PlugIns
01:10:03.8 4/11/2015: Loaded Plugin:"PINemHi LeaderBoard" Version 1.0 By Dna Disturber
01:10:03.8 4/11/2015: PlugIn: "PINemHi LeaderBoard" Initialized OK
01:10:03.8 4/11/2015: Using Plugin System Version: 1
01:10:04.4 4/11/2015: Created DirectX BackGlass Window
01:10:04.9 4/11/2015: CPU: Intel® Celeron® CPU 2.66GHz
01:10:04.9 4/11/2015: GPU 1: ATI Radeon HD 4600 Series
01:10:04.9 4/11/2015: Displays: 1
01:10:04.9 4/11/2015: Load Game List
01:10:05.0 4/11/2015: Loading Database: Future Pinball
01:10:05.0 4/11/2015: Loading Database: Visual Pinball
01:10:05.0 4/11/2015: Loading Custom Database: PINemHi LeaderBoard FP
01:10:05.0 4/11/2015: Loading Custom Database: PINemHi LeaderBoard VP
01:10:05.1 4/11/2015: Finding and matching artwork and videos
01:10:05.4 4/11/2015: Loading Game Statistics and Scores
01:10:05.4 4/11/2015: Loading Surfaces
01:10:06.0 4/11/2015: Finished Loading Surfaces
01:10:06.1 4/11/2015: Initialize Audio
01:10:06.3 4/11/2015: Set Keyboard Controls
01:10:06.4 4/11/2015: Initialize Joystick
01:10:06.5 4/11/2015: No Joysticks Attached
01:10:06.5 4/11/2015: Started
01:10:36.6 4/11/2015: Exiting
01:10:36.6 4/11/2015: Disposing Plugins
01:10:36.6 4/11/2015: Saving Settings
01:10:36.6 4/11/2015: Bye


[Display]
Monitor=0
rotate=0
Windowed=True
windowwidth=1024
windowheight=576
windowx=-6
windowy=-5
PlayFieldBrightness=230
WheelTextColor=ffffffff
WheelTextOutlineColor=ff000000
InfoTextColor=ffffffff
InfoTextOutlineColor=ff000000
FilterTextColor=ffffffff
FilterTextOutlineColor=ff000000
MenuColor=ffffa500
[backGlass]
monitor=1
x=0
y=0
width=1280
height=1024
[DMD]
Enabled=False
monitor=2
x=0
y=0
width=900
height=300
[FileSystem]
EnableFileMatching=True
[interface]
DesktopModeEnabled=True
EnableAdditionalDetail=True
ShowSystem=True
ShowRatings=True
EnableDefaultFilters=False
[Audio]
StreamVolume=90
SampleVolume=90
PlaySoundInVideos=True
[startup]
playsound=True
playvideo=True
StartWithWindows=No
[KeyCodes]
quit=27
left=37
right=39
select=13
rotate=82
pageleft=33
pageright=34
exitemulator=27
ingame=80
screenshot=83
screenshotbackglass=66
instructions=73
volumedown=109
volumeup=107
[JoyCodes]
quit=10
left=0
right=1
select=2
rotate=3
pageleft=4
pageright=5
exitemulator=6
ingame=13
instructions=14
[Text]
Line1=Free Play
Line2=Press Start
[FuturePinball]
Enabled=True
WorkingPath=C:\Program Files\Future Pinball
TablePath=C:\Program Files\Future Pinball\Tables
Executable=Future Pinball.exe
Parameters=/open "[TABLEPATH]\[TABLEFILE]" /play /exit /arcaderender
LaunchBeforeEnabled=false
LaunchBeforeWorkingPath=
LaunchBeforeExecutable=notepad.exe
LaunchBeforeHideWindow=False
LaunchBeforeWaitForExit=True
LaunchAfterEnabled=False
LaunchAfterWorkingPath=
LaunchAfterExecutable=notepad.exe
LaunchAfterHideWindow=False
LaunchAfterWaitForExit=True
MouseClickFocus=True
FPRAMPath=C:\Program Files\Future Pinball\fpRAM
[VisualPinball]
Enabled=True
WorkingPath=C:\Program Files\Visual Pinball
TablePath=C:\Program Files\Visual Pinball\Tables
Executable=VPinball_9_9_0.exe
Parameters=/play -"[TABLEPATH]\[TABLEFILE]"
LaunchBeforeEnabled=false
LaunchBeforeWorkingPath=
LaunchBeforeExecutable=notepad.exe
LaunchBeforeHideWindow=False
LaunchBeforeWaitForExit=True
LaunchAfterEnabled=False
LaunchAfterWorkingPath=
LaunchAfterExecutable=notepad.exe
LaunchAfterHideWindow=False
LaunchAfterWaitForExit=True
[ExitScreen]
Enabled=True
EnableExit=True
EnableShutdown=True
[startupProgram]
Enabled=false
WorkingPath=
Executable=notepad.exe
Paramaters=
HideWindow=true
WaitForExit=false
[ExitProgram]
Enabled=false
WorkingPath=
Executable=notepad.exe
Paramaters=
HideWindow=False
WaitForExit=
[AttractMode]
Enabled=True
Timer=1
ShowFor=15
MuteAudio=False
[system_1]
Name=Pinball FX2
Enabled=False
WorkingPath=C:\Steam
TablePath=C:\Steam\Tables
Executable=PinballFX.exe
Parameters=
SystemType=0
LaunchBeforeEnabled=False
LaunchAfterEnabled=False
[system_2]
Name=MAME
Enabled=False
WorkingPath=C:\- EMULATORS -\- MAME -
TablePath=C:\
Executable=mamep64.exe
Parameters=[TABLEFILE]
SystemType=0
[AutoExit]
Enabled=False
Minutes=10
[Login]
Enabled=False
[internal]
lastselected=Star Trek (Bally 1979)StarTrek_V100FuturePinball
filter_year=
filter_company=
filter_custom=
filtername=Tables
lastwheelcachematchsize=-1123
[setupWizard]
EmuPath1=C:\Emulators
AssetPath1=C:\Assets
RomPath1=C:\Roms
DefaultPathPrompt=True
DownloadDatabasePrompt=True
DownloadEmulatorPrompt=True
WizardMode=1
CustomArray=
SearchArray=
SavePosition=False
SectionIndex=19
SearchText=
EmulatorIndex=0
EmulatorGroupIndex=0
DaphneIndex=0
HTMLAppsIndex=0
ExternalAppsIndex=0
RadioStationsIndex=0
NewsFeedsIndex=0
MappedDrivesIndex=0
SystemIndex=0
ShowPanel=True
FontSize=1
WindowState=0
WindowSize=1010,729
WindowLocation=7,9
[GameListManager]
onlinemode=false
[Plugin_1]
Enabled=True
Name=PINemHi LeaderBoard.dll
[Plugin_2]
Enabled=False
Name=PlugInLED.dll
[Plugin_3]
Enabled=False
Name=PlugInSpeech.dll
[Plugin_4]
Enabled=False
Name=QuickLaunch (PinballX Edition).dll
[Plugin_5]
Enabled=False
Name=Xpadder Plugin.dll

Posted

First thing I would recommend is updating to 1.98 (you are a few versions behind). Have you looked in your Event Viewer in Windows to see if any hardware logs show a problem with USB connections (assuming you are using a USB keyboard and mouse)? Maybe try plugging those same devices in other USB ports. Seems odd that your key presses are not recognized by PinballX.

Posted

They should be mapped by default unless they have been remapped via Setup Wizard. It appears he has the default settings which work "out of the box" for a desktop setup.

  • Like 1
Posted

Thanks, Draco and Rusty, for mulling this over. I had probably rerun the 1.92 Setup.exe three or four times since the original Nov. 24 install, and did it once more a while ago---with no change. So, I downloaded and installed v1.98; except for "Featuring 32 Tables" instead of just three, and one extra log entry about caching wheels for overlays, there was no change.

My keyboard is a brand new Corsair Vengeance K70 with mechanical switches (Cherry MX Red). It and my wireless mouse's receiver both connect through USB, but there has not been any indication of trouble in that area. I have opened Event Viewer many times, but am unaware of any entries regarding hardware / USB. I also searched for a driver update, but there is none.

I tried to find a way to verify which keycodes are being generated by one's keyboard, but struck out. Does such a tool exist?

02:44:01.1 4/12/2015: PinballX - Version 1.98
02:44:11.6 4/12/2015: Windows XP Professional Service Pack 3 (1.9GB)
02:44:11.6 4/12/2015: Loading Settings
02:44:11.9 4/12/2015: Initialize Component
02:44:15.9 4/12/2015: Initialize Display
02:44:20.1 4/12/2015: Loading PlugIns
02:44:21.1 4/12/2015: Loaded Plugin:"PINemHi LeaderBoard" Version 1.0 By Dna Disturber
02:44:21.3 4/12/2015: PlugIn: "PINemHi LeaderBoard" Initialized OK
02:44:21.3 4/12/2015: Using Plugin System Version: 1
02:44:43.6 4/12/2015: Created DirectX BackGlass Window
02:44:45.1 4/12/2015: CPU: Intel® Celeron® CPU 2.66GHz
02:44:45.1 4/12/2015: GPU 1: ATI Radeon HD 4600 Series
02:44:45.2 4/12/2015: Displays: 1
02:44:45.2 4/12/2015: Load Game List
02:44:45.3 4/12/2015: Loading Database: Pinball FX2
02:44:48.0 4/12/2015: Loading Database: Future Pinball
02:44:48.1 4/12/2015: Loading Database: Visual Pinball
02:44:48.3 4/12/2015: Loading Custom Database: PINemHi LeaderBoard FP
02:44:48.4 4/12/2015: Loading Custom Database: PINemHi LeaderBoard VP
02:44:48.7 4/12/2015: Finding and matching artwork and videos
02:44:49.9 4/12/2015: Also Creating and Caching Wheels for Overlays
02:44:50.6 4/12/2015: Loading Game Statistics and Scores
02:44:50.7 4/12/2015: Loading Surfaces
02:44:53.6 4/12/2015: Finished Loading Surfaces
02:44:54.4 4/12/2015: Initialize Audio
02:45:03.6 4/12/2015: Set Keyboard Controls
02:45:03.7 4/12/2015: Initialize Joystick
02:45:05.3 4/12/2015: No Joysticks Attached
02:45:05.3 4/12/2015: Started
02:47:13.4 4/12/2015: Exiting
02:47:13.4 4/12/2015: Disposing Plugins
02:47:13.5 4/12/2015: Saving Settings
02:47:13.8 4/12/2015: Bye


[Display]
Monitor=0
rotate=0
Windowed=True
windowwidth=1024
windowheight=576
windowx=-6
windowy=-5
PlayFieldBrightness=230
WheelTextColor=ffffffff
WheelTextOutlineColor=ff000000
InfoTextColor=ffffffff
InfoTextOutlineColor=ff000000
FilterTextColor=ffffffff
FilterTextOutlineColor=ff000000
MenuColor=ffffa500
[backGlass]
monitor=1
x=0
y=0
width=1280
height=1024
[DMD]
Enabled=False
monitor=2
x=0
y=0
width=900
height=300
[FileSystem]
EnableFileMatching=True
[interface]
DesktopModeEnabled=True
EnableAdditionalDetail=True
ShowSystem=True
ShowRatings=True
EnableDefaultFilters=False
[Audio]
StreamVolume=90
SampleVolume=90
PlaySoundInVideos=True
[startup]
playsound=True
playvideo=True
StartWithWindows=No
[KeyCodes]
quit=27
left=37
right=39
select=13
rotate=82
pageleft=33
pageright=34
exitemulator=27
ingame=80
screenshot=83
screenshotbackglass=66
instructions=73
volumedown=109
volumeup=107
[JoyCodes]
quit=10
left=0
right=1
select=2
rotate=3
pageleft=4
pageright=5
exitemulator=6
ingame=13
instructions=14
[Text]
Line1=Free Play
Line2=Press Start
[FuturePinball]
Enabled=True
WorkingPath=C:\Program Files\Future Pinball
TablePath=C:\Program Files\Future Pinball\Tables
Executable=Future Pinball.exe
Parameters=/open "[TABLEPATH]\[TABLEFILE]" /play /exit /arcaderender
LaunchBeforeEnabled=false
LaunchBeforeWorkingPath=
LaunchBeforeExecutable=notepad.exe
LaunchBeforeHideWindow=False
LaunchBeforeWaitForExit=True
LaunchAfterEnabled=False
LaunchAfterWorkingPath=
LaunchAfterExecutable=notepad.exe
LaunchAfterHideWindow=False
LaunchAfterWaitForExit=True
MouseClickFocus=True
FPRAMPath=C:\Program Files\Future Pinball\fpRAM
[VisualPinball]
Enabled=True
WorkingPath=C:\Program Files\Visual Pinball
TablePath=C:\Program Files\Visual Pinball\Tables
Executable=VPinball_9_9_0.exe
Parameters=/play -"[TABLEPATH]\[TABLEFILE]"
LaunchBeforeEnabled=false
LaunchBeforeWorkingPath=
LaunchBeforeExecutable=notepad.exe
LaunchBeforeHideWindow=False
LaunchBeforeWaitForExit=True
LaunchAfterEnabled=False
LaunchAfterWorkingPath=
LaunchAfterExecutable=notepad.exe
LaunchAfterHideWindow=False
LaunchAfterWaitForExit=True
[ExitScreen]
Enabled=True
EnableExit=True
EnableShutdown=True
[startupProgram]
Enabled=false
WorkingPath=
Executable=notepad.exe
Paramaters=
HideWindow=true
WaitForExit=false
[ExitProgram]
Enabled=false
WorkingPath=
Executable=notepad.exe
Paramaters=
HideWindow=False
WaitForExit=
[AttractMode]
Enabled=True
Timer=1
ShowFor=15
MuteAudio=False
[system_1]
Name=Pinball FX2
Enabled=False
WorkingPath=C:\Steam
TablePath=C:\Steam\Tables
Executable=PinballFX.exe
Parameters=
SystemType=0
LaunchBeforeEnabled=False
LaunchAfterEnabled=False
[system_2]
Name=MAME
Enabled=False
WorkingPath=C:\- EMULATORS -\- MAME -
TablePath=C:\
Executable=mamep64.exe
Parameters=[TABLEFILE]
SystemType=0
[AutoExit]
Enabled=False
Minutes=10
[Login]
Enabled=False
[internal]
lastselected=Star Trek (Bally 1979)StarTrek_V100FuturePinball
filter_year=
filter_company=
filter_custom=
filtername=Tables
lastwheelcachematchsize=-1123
[setupWizard]
EmuPath1=C:\Emulators
AssetPath1=C:\Assets
RomPath1=C:\Roms
DefaultPathPrompt=True
DownloadDatabasePrompt=True
DownloadEmulatorPrompt=True
WizardMode=1
CustomArray=
SearchArray=
SavePosition=False
SectionIndex=20
SearchText=
EmulatorIndex=0
EmulatorGroupIndex=0
DaphneIndex=0
HTMLAppsIndex=0
ExternalAppsIndex=0
RadioStationsIndex=0
NewsFeedsIndex=0
MappedDrivesIndex=0
SystemIndex=0
ShowPanel=True
FontSize=1
WindowState=0
WindowSize=1010,729
WindowLocation=7,9
[GameListManager]
onlinemode=false
[Plugin_1]
Enabled=True
Name=PINemHi LeaderBoard.dll
[Plugin_2]
Enabled=False
Name=PlugInLED.dll
[Plugin_3]
Enabled=False
Name=PlugInSpeech.dll
[Plugin_4]
Enabled=False
Name=QuickLaunch (PinballX Edition).dll
[Plugin_5]
Enabled=False
Name=Xpadder Plugin.dll

Posted

I would try installing a standard keyboard and mouse just to rule out any issues with the drivers that are part of the new keyboard and wireless mouse.

Posted

I put my Logitech K120 rubber-dome board back in, and it was business as usual, except that I had never sat still long enough to realize that Attract Mode works---as per setup, one minute of inactivity starts cycling the Wheel every fifteen seconds (I changed that to FIVE seconds so it would be less boring)---and any key begins a new minute, so PBX is detecting something.....

I don't think the mouse is causing anything, because it will start PBX by clicking the desktop icon, close PBX by clicking the taskbar button or the red 'X' in the upper right, AND select and start games using the Game List Manager.

So, now the new keyboard is back in.....any straw-grasping is certainly welcome, thanks.

Gregg

Posted

Were you able to navigate using the K120 without any issues? How about after reconnecting the new keyboard?

Posted

Sorry---by 'navigate', are you referring to PinballX, or the computer in general? The K120s (all four of them over five years) were fine until the Shift keycaps split the rubber membrane and the split would momentarily catch the cap and hold on just long enough to delay flipper release. Only after my fourth board being used for several extra weeks, due to my not really wanting to go shopping, did the switch actually fail to make contact occasionally; at that point I had had enough. The Corsair's mechanical switches give something substantial to pound down on when multiball gets fierce.

'Business as usual' referred to PinballX starting when the desktop icon is clicked, then going through all of the stuff in the log entries through "Starting", which takes 4 to 4.7 seconds. EDIT: PinballX Version 1.98 added about a minute to that.

After that, I guess, comes Table selection, and that requires a keypress (Enter), right? But there's no indication of PBX receiving a keycode.....not even from the Escape key, which otherwise functions consistently when I close VP, FP, early PINemhi (later PeH has Esc remapped to 'E'), and others.

I have even retyped the keycodes in Setup, using the listed codes, but afterward, PinballX.ini always shows the correct ones, so the board must be generating what it's supposed to.....

Posted

Speaking of navigation within PinballX. That is what you initially reported, correct?

Posted

Heh heh. I'm channeling Bill Clinton; "That depends on how you define navigation."

Basically, I can do anything that involves mouse-clicks, but nothing that requires keypresses:

Rotate wheel (Left and Right Arrow keys)

Select Table (Enter key)

Exit Emulator / Quit (Escape key)

I guess the other nine functions require a table being played?

What if I delete the keyboard codes and run an ini to verify that they have been changed? Then when I re-enter them we'll definitely know which codes are generated. Does that sound like it would have any diagnostic value?

Posted

Heh heh. I'm channeling Bill Clinton; "That depends on how you define navigation."

Basically, I can do anything that involves mouse-clicks, but nothing that requires keypresses:

Rotate wheel (Left and Right Arrow keys)

Select Table (Enter key)

Exit Emulator / Quit (Escape key)

I guess the other nine functions require a table being played?

What if I delete the keyboard codes and run an ini to verify that they have been changed? Then when I re-enter them we'll definitely know which codes are generated. Does that sound like it would have any diagnostic value?

OK, let's take a step back and no more channeling presidents past or present. Do you get the same navigation errors (not recognizing key presses) regardless of the keyboard connected? Does it work with the old keyboard? If not, have you tried plugging the old keyboard into a different USB port on the PC, waited for it to be detected, booted PinballX, then tested keypresses? Have you performed the same steps with the new keyboard?

Posted

Same non-recognition with either board.

Changed back to old keyboard, swapping USB ports with an XHDD, booted PinballX: same non-recognition.

Plugged new keyboard into swapped port, booted PinballX: same non-recognition.

Checked Device Manager for drivers:

C:\WINDOWS\system32\kbdclass.sys

C:\WINDOWS\system32\kbdhid.sys

Drivers dated 7-1-2001, same pair used for each keyboard. Updating drivers produced nothing.

  • 7 months later...
Posted

Oh-h-h Kay! It took me only five months (not seven) to realize what was up; the 'dead' keypresses were simply coincidental, as I had never ENABLED the games in the XMLs---I guess I thought they were enabled by default---live and learn. (I had enabled a few in the Game List Manager and was able to play but not submit)

As far as submitting scores to PINemHi Leaderboard, I had followed PeH-LB instructions re its config file, but not seeing instructions for the pinemhi config file in the PinballX Setup Wizard, I overlooked that one and never typed in the appropriate paths.

Having finally gotten things right, I can say that PinballX is working fine. My apologies to Draco1962 (and indirectly to Tom) for the waste of time on what amounts to a bogus topic.

GSGregg

Posted

Glad you got it resolved, regardless of the amount of time. Thanks for responding with your resolution as it may help someone else with the same or similar issue.

Guest
This topic is now closed to further replies.
×
×
  • Create New...