HaikuArchives / KeyCursor

Using a Keyboard as a Pointing Device
Other
3 stars 3 forks source link

"Hit SPACE for a left-click, SHIFT+SPACE for a right-click" do not work initially after install #11

Open dcatt-haiku opened 9 months ago

dcatt-haiku commented 9 months ago

The "Hit SPACE for a left-click, SHIFT+SPACE for a right-click" do not work initially after install without requiring a reboot of the operating system.

humdingerb commented 9 months ago

Cannot reproduce when installing from HaikuDepot from scratch on a 64bit nightly.

Briseur commented 9 months ago

Tried with x64 nightly on 2 VM, with x64 and 32 bit beta on USB key. I had this behaviour every time. So it doesn't come from the VM and since I had different sets of things running in the Deskbar tray, it does not come from another filter either. My guess would be that it's a difference of behaviour between PS/2 & USB keyboard. Mine is USB, btw.

OscarL commented 9 months ago

FWIW, I too can replicate this issue upon a fresh install (hrev58506, real hardware, no previous KeyCursor setting file present on this install).

Even my ye-olde trick of just killing input_server wasn't good enough. :-)

After a reboot, works as advertised.

No clue about what's going on, thou.

Edit: not sure USB vs PS/2 is the issue, as this netbook only has the internal "AT Keyboard" and a "PS/2 Touchpad".

Zardshard commented 2 months ago

I managed to reproduce this on a VM. My parameters were

qemu-system-x86_64 -m 12G -vga std -enable-kvm -smp 12 \                    
    -device virtio-scsi-pci,id=scsi \
    -device scsi-hd,drive=hd \
    -drive file=$PATH_TO_DISK_IMAGE,if=none,id=hd,discard=on \
    -boot order=cd,menu=on \
    -vnc 0.0.0.0:13 -usbdevice tablet \
    -nic user,model=virtio-net-pci -soundhw hda

Note if you actually run that command as given, you'll need to use a vnc viewer to connect to port 13 in order to display the contents of the screen.