English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 22 November 2018, 22:13   #1
E-Penguin
Banana

 
Join Date: Jul 2016
Location: Darmstadt
Posts: 678
custom input events / mouse click?

In the "Settlers" game, one often has to perform a "special click" which is vaguely described as both buttons together but actually turns out to be the following in quick succession:
right mouse button down
left mouse button down
left mouse button up
right mouse button up

at least, so far as I can tell. This works fine on real Amigas and on every PC I've ever owned with WinUAE, but it doesn't work on my laptop. Examining the mouse events generated by the laptop, it seems to be masking the left-button events while the right button is pressed. If I press both buttons simultaneously then it gives a scroll-wheel-minus event, which isn't recognised by Settlers at all.

I *think* the solution is to remap the scroll-wheel-minus event to a series of mouse events as described above. I strongly suspect the Input panel custom events is the thing I need. I just don't know what the custom event string should be.

I have tried searching for similar issues but haven't found anything.

Any and all help appreciated.
E-Penguin is offline  
Old 22 November 2018, 22:47   #2
E-Penguin
Banana

 
Join Date: Jul 2016
Location: Darmstadt
Posts: 678
In the meantime, I'm using AutoHotkey with this script, to generate the keypresses (ctrl+alt+right button is the trigger). It seems to work well enough.

Code:
^!RButton::
Click, down, Right
Sleep, 100
Click, down, Left
Sleep, 100
Click, up, Left
Sleep, 100
Click, up, Right
return

Last edited by E-Penguin; 22 November 2018 at 23:03.
E-Penguin is offline  
Old 24 November 2018, 22:13   #3
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 22,120
I have heard about this problem previously but I don't remember if there was any solution. It probably is caused by some "helper" thing that makes some touch pad operations easier.

Custom event probably is best solution but I need to remember how mouse events worked (keyboard events are simple)..
Toni Wilen is online now  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
mouse wheel events meynaf Coders. System 1 26 August 2018 17:06
[opus5][arexx] double click action with custom lister peceha Coders. Scripting 2 12 March 2018 21:18
Mouse click problem with cintiq companion and virtual mouse driver donmikko support.WinUAE 9 19 February 2017 12:32
Custom input events CFOU! support.WinUAE 15 20 May 2012 18:54
Trouble with custom input configurations Raggot support.WinUAE 3 17 September 2010 21:19

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 16:22.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.06106 seconds with 15 queries