I’m wondering what’s the shortcut key of Hand Gesture ‘Victory’~ Can I custome the shortcut of general gestures?
1 Like
Hi Lik,
you can customize the shortcut key of general gestures as the following method:
-
Open file:
NREmulatorHandStatesService.cs
-
Add a similar structure, as shown in the screenshot, and specify KeyCode. For example, if you want to customize the victory gesture, you can write:
{KeyCode.v, CreateTestHandState_Found_Victory(HandEnum.RightHand)}
Note, however, that this
CreateTestHandState_Found_Victory
method requires you to write it yourself as shown inCreateTestHandState_Found_SystemGesture
earlier
- The most important part is this json file:
HandJointsArrayData_Right_SystemGesture_Json
You need to write your own method to record the position and rotation data of each joint of the victory gesture
got it ~ I will try it later~
1 Like