winrt-Windows.Gaming.Input.ForceFeedback 2.2.0__cp313-cp313-win32.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- winrt/_winrt_windows_gaming_input_forcefeedback.cp313-win32.pyd +0 -0
- winrt/_winrt_windows_gaming_input_forcefeedback.pyi +121 -0
- winrt/windows/gaming/input/forcefeedback/__init__.py +57 -0
- winrt/windows/gaming/input/forcefeedback/py.typed +0 -0
- winrt_Windows.Gaming.Input.ForceFeedback-2.2.0.dist-info/METADATA +26 -0
- winrt_Windows.Gaming.Input.ForceFeedback-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.Gaming.Input.ForceFeedback-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.Gaming.Input.ForceFeedback-2.2.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.foundation as windows_foundation
|
|
13
|
+
import winrt.windows.foundation.numerics as windows_foundation_numerics
|
|
14
|
+
|
|
15
|
+
from winrt.windows.gaming.input.forcefeedback import ConditionForceEffectKind, ForceFeedbackEffectAxes, ForceFeedbackEffectState, ForceFeedbackLoadEffectResult, PeriodicForceEffectKind
|
|
16
|
+
|
|
17
|
+
Self = typing.TypeVar('Self')
|
|
18
|
+
|
|
19
|
+
@typing.final
|
|
20
|
+
class ConditionForceEffect(winrt.system.Object):
|
|
21
|
+
@staticmethod
|
|
22
|
+
def _from(obj: winrt.system.Object, /) -> ConditionForceEffect: ...
|
|
23
|
+
def __new__(cls: typing.Type[ConditionForceEffect], effect_kind: ConditionForceEffectKind) -> ConditionForceEffect: ...
|
|
24
|
+
def set_parameters(self, direction: windows_foundation_numerics.Vector3, positive_coefficient: winrt.system.Single, negative_coefficient: winrt.system.Single, max_positive_magnitude: winrt.system.Single, max_negative_magnitude: winrt.system.Single, dead_zone: winrt.system.Single, bias: winrt.system.Single, /) -> None: ...
|
|
25
|
+
def start(self) -> None: ...
|
|
26
|
+
def stop(self) -> None: ...
|
|
27
|
+
@_property
|
|
28
|
+
def kind(self) -> ConditionForceEffectKind: ...
|
|
29
|
+
@_property
|
|
30
|
+
def gain(self) -> winrt.system.Double: ...
|
|
31
|
+
@gain.setter
|
|
32
|
+
def gain(self, value: winrt.system.Double) -> None: ...
|
|
33
|
+
@_property
|
|
34
|
+
def state(self) -> ForceFeedbackEffectState: ...
|
|
35
|
+
|
|
36
|
+
@typing.final
|
|
37
|
+
class ConstantForceEffect(winrt.system.Object):
|
|
38
|
+
@staticmethod
|
|
39
|
+
def _from(obj: winrt.system.Object, /) -> ConstantForceEffect: ...
|
|
40
|
+
def __new__(cls: typing.Type[ConstantForceEffect]) -> ConstantForceEffect: ...
|
|
41
|
+
def set_parameters(self, vector: windows_foundation_numerics.Vector3, duration: datetime.timedelta, /) -> None: ...
|
|
42
|
+
def set_parameters_with_envelope(self, vector: windows_foundation_numerics.Vector3, attack_gain: winrt.system.Single, sustain_gain: winrt.system.Single, release_gain: winrt.system.Single, start_delay: datetime.timedelta, attack_duration: datetime.timedelta, sustain_duration: datetime.timedelta, release_duration: datetime.timedelta, repeat_count: winrt.system.UInt32, /) -> None: ...
|
|
43
|
+
def start(self) -> None: ...
|
|
44
|
+
def stop(self) -> None: ...
|
|
45
|
+
@_property
|
|
46
|
+
def gain(self) -> winrt.system.Double: ...
|
|
47
|
+
@gain.setter
|
|
48
|
+
def gain(self, value: winrt.system.Double) -> None: ...
|
|
49
|
+
@_property
|
|
50
|
+
def state(self) -> ForceFeedbackEffectState: ...
|
|
51
|
+
|
|
52
|
+
@typing.final
|
|
53
|
+
class ForceFeedbackMotor(winrt.system.Object):
|
|
54
|
+
@staticmethod
|
|
55
|
+
def _from(obj: winrt.system.Object, /) -> ForceFeedbackMotor: ...
|
|
56
|
+
def load_effect_async(self, effect: typing.Optional[IForceFeedbackEffect], /) -> windows_foundation.IAsyncOperation[ForceFeedbackLoadEffectResult]: ...
|
|
57
|
+
def pause_all_effects(self) -> None: ...
|
|
58
|
+
def resume_all_effects(self) -> None: ...
|
|
59
|
+
def stop_all_effects(self) -> None: ...
|
|
60
|
+
def try_disable_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
61
|
+
def try_enable_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
62
|
+
def try_reset_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
63
|
+
def try_unload_effect_async(self, effect: typing.Optional[IForceFeedbackEffect], /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
64
|
+
@_property
|
|
65
|
+
def master_gain(self) -> winrt.system.Double: ...
|
|
66
|
+
@master_gain.setter
|
|
67
|
+
def master_gain(self, value: winrt.system.Double) -> None: ...
|
|
68
|
+
@_property
|
|
69
|
+
def are_effects_paused(self) -> bool: ...
|
|
70
|
+
@_property
|
|
71
|
+
def is_enabled(self) -> bool: ...
|
|
72
|
+
@_property
|
|
73
|
+
def supported_axes(self) -> ForceFeedbackEffectAxes: ...
|
|
74
|
+
|
|
75
|
+
@typing.final
|
|
76
|
+
class PeriodicForceEffect(winrt.system.Object):
|
|
77
|
+
@staticmethod
|
|
78
|
+
def _from(obj: winrt.system.Object, /) -> PeriodicForceEffect: ...
|
|
79
|
+
def __new__(cls: typing.Type[PeriodicForceEffect], effect_kind: PeriodicForceEffectKind) -> PeriodicForceEffect: ...
|
|
80
|
+
def set_parameters(self, vector: windows_foundation_numerics.Vector3, frequency: winrt.system.Single, phase: winrt.system.Single, bias: winrt.system.Single, duration: datetime.timedelta, /) -> None: ...
|
|
81
|
+
def set_parameters_with_envelope(self, vector: windows_foundation_numerics.Vector3, frequency: winrt.system.Single, phase: winrt.system.Single, bias: winrt.system.Single, attack_gain: winrt.system.Single, sustain_gain: winrt.system.Single, release_gain: winrt.system.Single, start_delay: datetime.timedelta, attack_duration: datetime.timedelta, sustain_duration: datetime.timedelta, release_duration: datetime.timedelta, repeat_count: winrt.system.UInt32, /) -> None: ...
|
|
82
|
+
def start(self) -> None: ...
|
|
83
|
+
def stop(self) -> None: ...
|
|
84
|
+
@_property
|
|
85
|
+
def gain(self) -> winrt.system.Double: ...
|
|
86
|
+
@gain.setter
|
|
87
|
+
def gain(self, value: winrt.system.Double) -> None: ...
|
|
88
|
+
@_property
|
|
89
|
+
def state(self) -> ForceFeedbackEffectState: ...
|
|
90
|
+
@_property
|
|
91
|
+
def kind(self) -> PeriodicForceEffectKind: ...
|
|
92
|
+
|
|
93
|
+
@typing.final
|
|
94
|
+
class RampForceEffect(winrt.system.Object):
|
|
95
|
+
@staticmethod
|
|
96
|
+
def _from(obj: winrt.system.Object, /) -> RampForceEffect: ...
|
|
97
|
+
def __new__(cls: typing.Type[RampForceEffect]) -> RampForceEffect: ...
|
|
98
|
+
def set_parameters(self, start_vector: windows_foundation_numerics.Vector3, end_vector: windows_foundation_numerics.Vector3, duration: datetime.timedelta, /) -> None: ...
|
|
99
|
+
def set_parameters_with_envelope(self, start_vector: windows_foundation_numerics.Vector3, end_vector: windows_foundation_numerics.Vector3, attack_gain: winrt.system.Single, sustain_gain: winrt.system.Single, release_gain: winrt.system.Single, start_delay: datetime.timedelta, attack_duration: datetime.timedelta, sustain_duration: datetime.timedelta, release_duration: datetime.timedelta, repeat_count: winrt.system.UInt32, /) -> None: ...
|
|
100
|
+
def start(self) -> None: ...
|
|
101
|
+
def stop(self) -> None: ...
|
|
102
|
+
@_property
|
|
103
|
+
def gain(self) -> winrt.system.Double: ...
|
|
104
|
+
@gain.setter
|
|
105
|
+
def gain(self, value: winrt.system.Double) -> None: ...
|
|
106
|
+
@_property
|
|
107
|
+
def state(self) -> ForceFeedbackEffectState: ...
|
|
108
|
+
|
|
109
|
+
@typing.final
|
|
110
|
+
class IForceFeedbackEffect(winrt.system.Object):
|
|
111
|
+
@staticmethod
|
|
112
|
+
def _from(obj: winrt.system.Object, /) -> IForceFeedbackEffect: ...
|
|
113
|
+
def start(self) -> None: ...
|
|
114
|
+
def stop(self) -> None: ...
|
|
115
|
+
@_property
|
|
116
|
+
def gain(self) -> winrt.system.Double: ...
|
|
117
|
+
@gain.setter
|
|
118
|
+
def gain(self, value: winrt.system.Double) -> None: ...
|
|
119
|
+
@_property
|
|
120
|
+
def state(self) -> ForceFeedbackEffectState: ...
|
|
121
|
+
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt import _winrt_windows_gaming_input_forcefeedback
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"ConditionForceEffectKind",
|
|
10
|
+
"ForceFeedbackEffectAxes",
|
|
11
|
+
"ForceFeedbackEffectState",
|
|
12
|
+
"ForceFeedbackLoadEffectResult",
|
|
13
|
+
"PeriodicForceEffectKind",
|
|
14
|
+
"ConditionForceEffect",
|
|
15
|
+
"ConstantForceEffect",
|
|
16
|
+
"ForceFeedbackMotor",
|
|
17
|
+
"PeriodicForceEffect",
|
|
18
|
+
"RampForceEffect",
|
|
19
|
+
"IForceFeedbackEffect",
|
|
20
|
+
]
|
|
21
|
+
|
|
22
|
+
class ConditionForceEffectKind(enum.IntEnum):
|
|
23
|
+
SPRING = 0
|
|
24
|
+
DAMPER = 1
|
|
25
|
+
INERTIA = 2
|
|
26
|
+
FRICTION = 3
|
|
27
|
+
|
|
28
|
+
class ForceFeedbackEffectAxes(enum.IntFlag):
|
|
29
|
+
NONE = 0x0
|
|
30
|
+
X = 0x1
|
|
31
|
+
Y = 0x2
|
|
32
|
+
Z = 0x4
|
|
33
|
+
|
|
34
|
+
class ForceFeedbackEffectState(enum.IntEnum):
|
|
35
|
+
STOPPED = 0
|
|
36
|
+
RUNNING = 1
|
|
37
|
+
PAUSED = 2
|
|
38
|
+
FAULTED = 3
|
|
39
|
+
|
|
40
|
+
class ForceFeedbackLoadEffectResult(enum.IntEnum):
|
|
41
|
+
SUCCEEDED = 0
|
|
42
|
+
EFFECT_STORAGE_FULL = 1
|
|
43
|
+
EFFECT_NOT_SUPPORTED = 2
|
|
44
|
+
|
|
45
|
+
class PeriodicForceEffectKind(enum.IntEnum):
|
|
46
|
+
SQUARE_WAVE = 0
|
|
47
|
+
SINE_WAVE = 1
|
|
48
|
+
TRIANGLE_WAVE = 2
|
|
49
|
+
SAWTOOTH_WAVE_UP = 3
|
|
50
|
+
SAWTOOTH_WAVE_DOWN = 4
|
|
51
|
+
|
|
52
|
+
ConditionForceEffect = _winrt_windows_gaming_input_forcefeedback.ConditionForceEffect
|
|
53
|
+
ConstantForceEffect = _winrt_windows_gaming_input_forcefeedback.ConstantForceEffect
|
|
54
|
+
ForceFeedbackMotor = _winrt_windows_gaming_input_forcefeedback.ForceFeedbackMotor
|
|
55
|
+
PeriodicForceEffect = _winrt_windows_gaming_input_forcefeedback.PeriodicForceEffect
|
|
56
|
+
RampForceEffect = _winrt_windows_gaming_input_forcefeedback.RampForceEffect
|
|
57
|
+
IForceFeedbackEffect = _winrt_windows_gaming_input_forcefeedback.IForceFeedbackEffect
|
|
File without changes
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.Gaming.Input.ForceFeedback
|
|
3
|
+
Version: 2.2.0
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License: MIT
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
9
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime ==2.2.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Numerics[all] ==2.2.0 ; extra == 'all'
|
|
19
|
+
|
|
20
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
|
+
|
|
22
|
+
# winrt-Windows.Gaming.Input.ForceFeedback
|
|
23
|
+
|
|
24
|
+
Windows Runtime (WinRT) APIs for for the `Windows.Gaming.Input.ForceFeedback` namespace.
|
|
25
|
+
|
|
26
|
+
This package provides the `winrt.windows.gaming.input.forcefeedback` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_gaming_input_forcefeedback.cp313-win32.pyd,sha256=_mP-30XPZy8PPIsG337LDsqbXyvhMi5Odpk_tvi6I0E,99328
|
|
2
|
+
winrt/_winrt_windows_gaming_input_forcefeedback.pyi,sha256=iBetOiH7bcdE6z6PRIiJluz7h7_ZXoLFMZU6YVTobhU,6543
|
|
3
|
+
winrt/windows/gaming/input/forcefeedback/__init__.py,sha256=c0LEavTeOJ0RRzP3h3u-uAcjB4aac5nJUF4e6UTgOJA,1612
|
|
4
|
+
winrt/windows/gaming/input/forcefeedback/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.Gaming.Input.ForceFeedback-2.2.0.dist-info/METADATA,sha256=gIUCjBYp1p9JsVVXbtraCLtm2v_KLUF0Xt56iueaM_c,1167
|
|
6
|
+
winrt_Windows.Gaming.Input.ForceFeedback-2.2.0.dist-info/WHEEL,sha256=rHSPOKLHVf857fDiba9Pzuf1iCvh9pcRQ5-VWQYz3ms,97
|
|
7
|
+
winrt_Windows.Gaming.Input.ForceFeedback-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.Gaming.Input.ForceFeedback-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|