» Keyboard, Mouse and Touch news
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Keyboard, Mouse and Touch news

There's been another update to the mouse and keyboard nodes before but that turned out to still cause troubles:

  • key presses could still be missed (think: typing too fast on typewriter)
  • global keyboard didn't work properly with all applications
  • mousewheel didn't work globally
  • no nodes to deal with touch devices (2013! hellooo!)

Now there've been notable contributions to work around some of those issues, like windowstouch, global-keyhook and directinput-(devices) but those being really basic things we thought we'd give it another shot.

So here is what you get:

  • Keyboard and Mouse nodes in variants: Desktop (was: Global) and Windows
  • where Keyboard and Mouse (Desktop) are spreadable (ie. understanding multiple keyboards/mice attached. quite nerdy, what you think?)
  • a new Touch (Devices Window) node
  • all those nodes come with a Queue Mode to distinguish Enqueue (don't miss anything) and Discard (just take the latest) modes
  • KeyStates, MouseStates and TouchStates split-nodes (for comfortable use in subpatches)
  • KeyEvents, MouseEvents and TouchEvents split-nodes (allowing for advanced ... stuff)
  • join-nodes for some of them

like so:

Device type Source nodes Sink nodes
Keyboard Keyboard (Devices Window)
Keyboard (Devices Desktop)
KeyEvents (Keyboard Join)
KeyEvents (Keyboard Split)
KeyStates (Keyboard Split)
Mouse Mouse (Devices Window)
Mouse (Devices Desktop)
MouseEvents (Mouse Join)
MouseStates (Mouse Join)
MouseEvents (Mouse Split)
MouseStates (Mouse Split)
Touch Touch (Devices) TouchEvents (Touch Split)
TouchStates (Touch Split)
As you can see from the table not all possible combinations have been implemented. We concentrated on those which we felt had a good use case.

For the plugin-developer:

  • Plugins that are using the (now) legacy "KeyboardState" and "MouseState" datatype don't need to be modified - vvvv is gracefully taking care of this with an auto-wrapper.
  • The new "Device" datatype merely is a wrapper around a push based sequence of Device notifications. See KeyboardNodes.cs for an example of how to use it in your new developments.

all available now for testing with the latest alpha builds

Elias, Tuesday, Dec 10th 2013 Digg | Tweet | Delicious 13 comments  
sunep 10/12/2013 - 18:24

awesome!

I can now finally make a cool multi touch interface for my drum machine :)

u7angel 10/12/2013 - 19:31

brilliant, native touchnodes !

gaz 10/12/2013 - 20:02

Zoom... and we're back up to speed! Thanks devvvvs.

microdee 10/12/2013 - 20:52

multiple mice wow!

microdee 10/12/2013 - 21:02

suggestion: can we have the absolute raw data coming from the mouse? i mean currently when i set the source to "raw" it is clamped between -1 and 1 (even when i set it to "CycleIncrement" mode
yeah after viewing the source code of mouse nodes that clamp in "raw" mode is completely unnecessary in my opinion. if somebody wants to clamp it between -1 and 1 let them do it in the patch.

david 11/12/2013 - 01:13

thank you bois. i will test asap

tekcor 11/12/2013 - 14:59

super amazing thank you a lot :)

manolito 11/12/2013 - 18:07

And it even supports multitouch on an 1920s typewriter. Thanks Elias (!)

iixd 12/12/2013 - 12:13

awesome updates lately !

phl 13/12/2013 - 05:18

Great, perfect timing!

(Looking forward to christmas.)

herbst 13/12/2013 - 06:23

I'm really looking forward to testing the multiple mice support and how far it can be driven - anyone tried what's the max of HIDs usable this way? :)
Also, native touch nodes - thanks!

pechart 13/12/2013 - 17:26

Yippie, thank you!

xd_nitro 13/12/2013 - 17:28

woop woop, that's the sound of vvvv

  • 1

anonymous user login

Shoutbox

~3h ago

metrowave: what happened to the list of whose logged-in/on-line (above), now only showing me and guests...

~2d ago

joreg: Don't forget: This months #vvvv meetup in #berlin is happening on the 27th: 12-berlin-vvvv-meetup

~2d ago

joreg: @u7 @CeeYaa, we're investigating this...

~2d ago

tonfilm: Under the hood: We switched from #SharpDX to #Xenko math. vl-switch-to-xenko-math VL vvvv #visualprogramming #dotnet #creativecoding

~2d ago

CeeYaa: haha it was frozen for 10 seconds when I send this Shout before - using Firefox

~2d ago

CeeYaa: hui really slow speed on MainPage, Contributions ... speed in Forum quite OK

~2d ago

u7angel: mmm, the site is really slow now.

~3d ago

joreg: PSA: and we're back!

~4d ago

joreg: PSA: Thursday night starting 11pm CET vvvv.org will move servers. If all goes well we should be back soon after.

~5d ago

joreg: But first: This Friday in Berlin: Join our full day "Getting started with Generative Design Algorithms" workshop https://nodeforum.org/announcements/workshop-getting-started-with-generative-design/