12 lines
380 B
Python
Executable File
12 lines
380 B
Python
Executable File
#!/usr/bin/env python3
|
|
# ============================================================
|
|
# Nom : set_preset.py
|
|
# Objet : Revenir au preset sauvegardé du clavier
|
|
# ============================================================
|
|
|
|
from RPiKeyboardConfig import RPiKeyboardConfig
|
|
|
|
keyboard = RPiKeyboardConfig()
|
|
keyboard.revert_to_saved_preset()
|
|
print("✅ Preset sauvegardé restauré.")
|