SimpleJoyCon 1.0.3__tar.gz → 1.0.4__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: SimpleJoyCon
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: Una libreria de bajo nivel simplificada, estetica y sin comillas para usar Joy-Cons en Python
5
5
  Author: EVOLVE
6
6
  Classifier: Programming Language :: Python :: 3
@@ -25,7 +25,7 @@ class JoyconL:
25
25
  break
26
26
  except Exception:
27
27
  print(" -> Control Izquierdo no detectado. Reintentando... (Presiona un botón en el Joy-Con)", end="\r")
28
- time.sleep(1.0)
28
+ time.sleep(0.1)
29
29
  try:
30
30
  print("\n[OK] ¡Joy-Con L Conectado!")
31
31
  self._enviar_subcomando(0x48, [0x01])
@@ -44,7 +44,6 @@ class JoyconL:
44
44
  packet.extend(data_bytes)
45
45
  packet += [0x00] * (49 - len(packet))
46
46
  self.device.write(bytes(packet))
47
- time.sleep(0.01)
48
47
 
49
48
  def vibracion(self, fuerza):
50
49
  fuerza = max(0.0, min(1.0, float(fuerza)))
@@ -26,7 +26,7 @@ class JoyconR:
26
26
  except Exception:
27
27
  # Si falla (porque el control está apagado), espera 1 segundo y reintenta
28
28
  print(" -> Control Derecho no detectado. Reintentando...", end="\r")
29
- time.sleep(1.0)
29
+ time.sleep(0.1)
30
30
 
31
31
  # Inicialización de hardware una vez conectado
32
32
  try:
@@ -49,7 +49,6 @@ class JoyconR:
49
49
  packet.extend(data_bytes)
50
50
  packet += [0x00] * (49 - len(packet))
51
51
  self.device.write(bytes(packet))
52
- time.sleep(0.01)
53
52
 
54
53
  def vibracion(self, fuerza):
55
54
  fuerza = max(0.0, min(1.0, float(fuerza)))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: SimpleJoyCon
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: Una libreria de bajo nivel simplificada, estetica y sin comillas para usar Joy-Cons en Python
5
5
  Author: EVOLVE
6
6
  Classifier: Programming Language :: Python :: 3
@@ -6,7 +6,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
6
6
 
7
7
  setup(
8
8
  name="SimpleJoyCon",
9
- version="1.0.3",
9
+ version="1.0.4",
10
10
  description="Una libreria de bajo nivel simplificada, estetica y sin comillas para usar Joy-Cons en Python",
11
11
  long_description=long_description, # <--- LE DICE A PYPI QUE USE EL README
12
12
  long_description_content_type="text/markdown", # <--- CORRIGE EL FORMATO A MARKDOWN
File without changes
File without changes