Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Mouse movement presses buttons

Years of Service
User Offline
Joined: 9th Apr 2013
Posted: 9th Apr 2013 23:26
Help a noob like me. Need some code for like, If i would move the mouse in a certain direction it would press a button on the keyboard or something like that
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 10th Apr 2013 19:51 Edited at: 10th Apr 2013 19:51
You may need to explain a little more what you want to achieve. That's like asking a shop assistant "help me, i just like want something to buy or something like that".

Search the help files for the following commands (press F1 in the editor)


Taumatawhakatangihangakoauauotamateapokaiwhenuakitanatahu is a hill
Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch is a town
Chargoggagoggmanchauggagoggchaubunagungamaugg is a lake
Derek Darkly
Years of Service
User Offline
Joined: 22nd Sep 2011
Location: Whats Our Vector, Victor?
Posted: 12th Apr 2013 20:03
If you want the mouse movement to trigger a certain function, then you can probably skip the "key press" part.

Burning Feet Man
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 16th Apr 2013 09:17
Do you mean like the Microsoft Windows "On-Screen-Keyboard"?

Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
Years of Service
User Offline
Joined: 16th Jun 2009
Location: Altis
Posted: 1st May 2013 07:23
If you mean binding mouse movement to a key so you can use it in a different program (like for gaming or something), you can't really do that, especially not in db pro.

Login to post a reply

Server time is: 2023-05-29 12:52:16
Your offset time is: 2023-05-29 12:52:16