ellysh / InpOut32-au3

This is AutoIt bindings for the InpOut32 library
1 stars 0 forks source link

keyboard-test.au3 does nothing #1

Open Etuldan opened 8 years ago

Etuldan commented 8 years ago

I'm trying to use this API for autotyping. I start the "keyboard-test.au3" (with AutoIt installed) but nothing happens, no keystrokes were sent.

I have only this log "debug.log" scan_code = 75 Out32 #1 Out32 #2 result #0 = True Out32 #1 Out32 #2 result #1 = True

What the "PS2_PressKey(0x4B)" is supposed to do, and if it should press a Key, why nothing happens on my computer ? I have no 'real' PS2 Keyboard/Mouse installed.

ellysh commented 8 years ago

Hi,

The "PS2_PressKey(0x4B)" command should emulate a pressing of "Arrow Up" key. You can substitute this test command to "PS2_PressKey(0x1E)" one. Now pressing of the "a" key will be emulated.

If you are using laptop, the internal pointer device have a PS2 interface. It will be enough for working InpOut32 driver.

Etuldan commented 8 years ago

Thanks for your (very!) quick reply.

I'm on a desktop computer (so no touchpad). Should I have a real PS2 keyboard pluggin in order it works ?

However, I have multiple inputs devices, all plugged as USB: Logitech G510 Keyboard Razer Nostromo Logitech G500 Mouse Logitech G600 Mouse

Even with the scancode 0x1E, nothing appears. May it be related to my AZERTY configuration keymap ?

ellysh commented 8 years ago

Have you installed the driver by launching a InpOut32/bin/Win32/InstallDriver.exe binary from this repository? https://github.com/ellysh/InpOut32

Have the installation process succeeded?

I suppose that InpOut32 will not work on your system. You need at least one physical PS2 device connected to your desktop.

Etuldan commented 8 years ago

I (re-)installed the Driver, and same issue. I'll try with a minimalist setup in the next days. But as you said, it seems to be a InpOut32 issue.

ellysh commented 8 years ago

You can try to test the driver in a virtual machine. As I know there is a PS/2 interface for mouse device in this case.