Home › Forums › Software Development › Add new keys and actions in C#
- This topic has 2 replies, 2 voices, and was last updated 9 years, 2 months ago by William.
- 24/03/2014 at 10:49 #597WilliamParticipant
I use Tobii Rex and develop with C#.
Is it possible to add new keys from keyboard for new specific actions ?
“press k” for “activate special effect 1” and
“press m” for “activate special effect 2”.
Can I do that with the SDK ? or I must do it from scratch ?
Are there documentations about that ? I have already read “Developer’s Guide for Unity” and there are nothing about it.
Can you help me ?
Have a good day
PS : sorry for my english…24/03/2014 at 11:27 #599Robert [Tobii]Participant
Right now there is no support for adding additional key bindings in the EyeX SDK. The best way to accomplish this is to use the Gaze-aware behavior to understand which object the user is looking at, then hook up the keys yourself to perform different actions on the looked-at object.
If you are using Unity, the GetKey or GetButton functions are useful.
For other Windows development, check this article:
http://blogs.msdn.com/b/toub/archive/2006/05/03/589423.aspx24/03/2014 at 11:48 #600WilliamParticipant
- You must be logged in to reply to this topic.