1 | <?php |
||
29 | class KeyboardShortcutsComponent extends ComponentAbstract implements KeyboardShortcutsCMPTIF |
||
30 | { |
||
31 | |||
32 | |||
33 | |||
34 | /** |
||
35 | * Initialize Component |
||
36 | * |
||
37 | * {@inheritdoc} |
||
38 | * |
||
39 | * @return bool |
||
40 | */ |
||
41 | 1 | public function initializeComponent(): bool |
|
48 | |||
49 | |||
50 | /** |
||
51 | * enterVR |
||
52 | * |
||
53 | * Enables the shortcut to press ‘F’ to enter VR. |
||
54 | * |
||
55 | * @param bool $enter_vr |
||
56 | * @return KeyboardShortcutsCMPTIF |
||
57 | */ |
||
58 | 1 | public function enterVR(bool $enter_vr = true): KeyboardShortcutsCMPTIF |
|
63 | |||
64 | /** |
||
65 | * resetSensor |
||
66 | * |
||
67 | * Enables to shortcut to press ‘Z’ to reset the sensor. |
||
68 | * |
||
69 | * @param bool $reset_sensor |
||
70 | * @return KeyboardShortcutsCMPTIF |
||
71 | */ |
||
72 | 1 | public function resetSensor(bool $reset_sensor = true): KeyboardShortcutsCMPTIF |
|
77 | } |