Jump to content




New touchscreen monitors?


  • You cannot reply to this topic
11 replies to this topic

#1 gknova61

  • Members
  • 74 posts

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 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

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 NDFJay

  • Members
  • 216 posts
  • LocationLeeds, England

Posted 26 December 2012 - 01:33 PM

although right clicking on a monitor counts as 2 left clicks on a terminal

#4 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 26 December 2012 - 01:58 PM

View PostNDFJay, on 26 December 2012 - 01:33 PM, said:

although right clicking on a monitor counts as 2 left clicks on a terminal
This, yeah. Is this a bug?

#5 NDFJay

  • Members
  • 216 posts
  • LocationLeeds, England

Posted 26 December 2012 - 02:20 PM

View PostKingdaro, on 26 December 2012 - 01:58 PM, said:

View PostNDFJay, on 26 December 2012 - 01:33 PM, said:

although right clicking on a monitor counts as 2 left clicks on a terminal
This, yeah. Is this a bug?

it is, its not that big of a deal, just gets annoying for me when i try use my OS on it

#6 gknova61

  • Members
  • 74 posts

Posted 26 December 2012 - 04:13 PM

Do I need to even wrap the peripheral or what?

#7 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 26 December 2012 - 04:18 PM

Nope. Just get clicks like you normally would.

#8 KaoS

    Diabolical Coder

  • Members
  • 1,510 posts
  • LocationThat dark shadow under your bed...

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 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 26 December 2012 - 07:28 PM

Well, you're more right than I am.

Posted Image

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

#10 KaoS

    Diabolical Coder

  • Members
  • 1,510 posts
  • LocationThat dark shadow under your bed...

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 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

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 KaoS

    Diabolical Coder

  • Members
  • 1,510 posts
  • LocationThat dark shadow under your bed...

Posted 26 December 2012 - 08:06 PM

that is so cool :) I didn't expect you to convert the events automatically. NICE





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users