Announcement

Collapse
No announcement yet.

KeyboardEvents

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • KeyboardEvents

    I am trying to understand how keyboard events are written and am having a hard time finding good examples of making my own events happen on particular key presses. If anyone can give me an example of how to utilize callback events or keyboard events, I would really appreciate it. It would really help if it was in Java as well since I am using Scala.

    Thank you,

    Zach

  • #2
    Originally posted by ZachSMS View Post
    I am trying to understand how keyboard events are written and am having a hard time finding good examples of making my own events happen on particular key presses. If anyone can give me an example of how to utilize callback events or keyboard events, I would really appreciate it. It would really help if it was in Java as well since I am using Scala.
    Hi Zach,
    Not certain what you mean by "how keyboard events are written" (specifically the word "written". But the following info might help.

    The Open Inventor centric approach is to use an SoEventCallback node. You can copy/paste some handy code fragments right from the reference manual page when you need them (that's what I do :-).

    Here is a link to the online Java reference manual page: http://oivdoc95.vsg3d.com/APIS/RefMa...tCallback.html

    Let us know if you need more info.
    R,
    Mike

    Comment

    Working...
    X