Package com.diozero.devices
Class Keypad
- java.lang.Object
-
- com.diozero.devices.Keypad
-
- All Implemented Interfaces:
DeviceInterface
,AutoCloseable
public class Keypad extends Object implements DeviceInterface
References:
Note, this class should be run with the mmap provider as it configures input pull-up registers, something that cannot be done with the sysfs provider unfortunately. You can of course wire it up with your own pull-up resistors.
-
-
Field Detail
-
NO_KEY
public static final char NO_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
close
public void close()
Description copied from interface:DeviceInterface
Close this device- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceDeviceInterface
-
-