New touchscreen monitors?
Started by gknova61, Dec 26 2012 12:22 PM
11 replies to this topic
#1
Posted 26 December 2012 - 12:22 PM
Can someone explain to me how the mouse_drag, click etc. events get passed from the new touchscreen monitors get passed to a computer and maybe a sample program?
#2
Posted 26 December 2012 - 12:29 PM
Right-clicking a monitor does the same as left-clicking a console window. Pretty much any program that uses clicks will be able to use the new advanced monitors.
#3
Posted 26 December 2012 - 01:33 PM
although right clicking on a monitor counts as 2 left clicks on a terminal
#5
#6
Posted 26 December 2012 - 04:13 PM
Do I need to even wrap the peripheral or what?
#7
Posted 26 December 2012 - 04:18 PM
Nope. Just get clicks like you normally would.
#8
Posted 26 December 2012 - 07:16 PM
I thought it made an entirely different event, something about a monitor click being the first thing returned. the next is the side of the monitor and the other 2 params being the co-ordinates of the clicked character. that's how it worked for me
#9
Posted 26 December 2012 - 07:28 PM
Well, you're more right than I am.

Apparently it returns the event "monitor_touch", then the side of the monitor, and x/y coordinates.

Apparently it returns the event "monitor_touch", then the side of the monitor, and x/y coordinates.
#10
Posted 26 December 2012 - 07:30 PM
lol these people fix bugs so fast you just can't keep up sometimes
I like the new implementation
#11
Posted 26 December 2012 - 08:02 PM
Getting clicks instead of monitor touch events is a behavior caused by using the monitor program to display a program on a monitor.
#12
Posted 26 December 2012 - 08:06 PM
that is so cool
I didn't expect you to convert the events automatically. NICE
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












