Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions tactile/code/hand.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from dataclasses import dataclass

@dataclass
class Hand:
id: int
"""ID of the hand. 0 = left, 1 = right"""
side: str
"""Side, left or right."""
tracking: bool
"""Whether the space position and rotation of the hand is mapped to the virtual one."""
haptics: bool
"""Whether we can retrieve finger closures and send haptic feedback to the hand."""
controller_rotation: float
"""The initial rotation of the hand, in degrees.
0 means the controller is in the same direction as the hand."""