Grasshopper

algorithmic modeling for Rhino

I would like to use the arrow keys of my keyboard as a joystick (as opposed to the MD Slider) as I need the values to default to zero when not active.

I can't seem to get the wscript object to work in grasshopper.

Ant suggestions?

 

Views: 344

Replies to This Discussion

You cannot respond to key events unless you have a control which is focused and receiving the events. There actually are Windows Hooks you can use, but it's pretty darn difficult as you have to PInvoke into the Windows API using some of the more complicated methods.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service