English
DLLs

mouser.dll - globale Mouse-Events, Scrollrad + 5 Keys

 

Sven
Bader
Download

Hello Community!

Since I to date no good Solution found have, The mittlere Mouse button and particularly the Mausrad without *waitinput abzufragen, have I now a DLL for written. next to whom usual 3 Mouse buttons could I two further add, on of my mouse are it The Seitentasten "Thumb Back/Forward".

it can additionally any Keys at the same time quizzed go!

The Mausrad-request becomes each time reset, there the Event none down/up status has.

greetings
Sven


Declare hDll&,wheel&
hDll& = UseDll("mouser.dll")
ImportFunc(hDll&,"getbutton", "getbutton")
ImportFunc(hDll&,"getwheel", "getwheel")'becomes with request reset!
Cls

WhileNot iskey(27)

    sleep 20
    locate 1,1
    print "Button 1: " + st$(getbutton(1)) + "\n"
    print "Button 2: " + st$(getbutton(2))+ "\n"
    print "Button 3: " + st$(getbutton(3))+ "\n"
    print "Button 4: " + st$(getbutton(4))+ "\n"
    print "Button 5: " + st$(getbutton(5))+ "\n"
    wheel& = wheel& + getwheel()
    print "Mausrad: " + st$(wheel&) + "    "

Endwhile

FreeDll hDll&
End

*Why have I a problem with the waitinput Solutions? even if one waitinput with settimer "überennt" needed the appeal very plenty Time, The DLL is here explicit faster.

6 kB
Hochgeladen:09/10/21
Downloadcounter72
Download
66 kB
Hochgeladen:09/10/21
Downloadcounter80
Download
 
09/10/21  
 




Georg
Teles
Hello,

Genial, The inquire are global, reminds me on The function GetAsyncKeyState
 
XProfan X2
TC-Programming [...] 
XProfan 8.0 - 10.0 - X2 - X3 - X4

09/10/21  
 




Sven
Bader
Hello Georg,

it freut me, that yet someone usage for has. GetAsyncKeyState
use so did i gladly, I mean The can even whom rechten and left mouse-Button.

for the DLL use I a Hook, which The Mausdaten in the so-called "low level Modus" on a function weiterreicht. the would even nativ in XProfan functions only überfordern the many Aufrufe the program.
 
09/10/21  
 




Georg
Teles
These DLL finds definitiv some usage
 
XProfan X2
TC-Programming [...] 
XProfan 8.0 - 10.0 - X2 - X3 - X4

09/19/21  
 



Zur DLL


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.535 Views

Untitledvor 0 min.
Member 862464106/03/24
ByteAttack11/24/23
Axel Berse11/08/23
Walter04/30/23
More...

Themeninformationen

this Topic has 2 subscriber:

Georg Teles (2x)
Sven Bader (2x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie