mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-02 11:01:53 +08:00
debounce for gpiod AioReader
This commit is contained in:
@@ -74,7 +74,7 @@ class BaseUserGpioDriver(BasePlugin):
|
||||
def get_modes(cls) -> Set[str]:
|
||||
return set(UserGpioModes.ALL)
|
||||
|
||||
def register_input(self, pin: int) -> None:
|
||||
def register_input(self, pin: int, debounce: float) -> None:
|
||||
raise NotImplementedError
|
||||
|
||||
def register_output(self, pin: int, initial: Optional[bool]) -> None:
|
||||
|
||||
Reference in New Issue
Block a user