Revert "Device: introduce system_path() method"

This reverts commit e3e7d339bd.
This commit is contained in:
Wayne Warren 2022-01-16 18:34:09 -07:00
parent e3e7d339bd
commit 824302d0f6

View file

@ -253,11 +253,6 @@ impl Device {
self.raw.supported_sounds() self.raw.supported_sounds()
} }
/// Returns the system path used to open the device.
pub fn system_path(&self) -> &Path {
self.raw.system_path()
}
/// Retrieve the current keypress state directly via kernel syscall. /// Retrieve the current keypress state directly via kernel syscall.
pub fn get_key_state(&self) -> io::Result<AttributeSet<Key>> { pub fn get_key_state(&self) -> io::Result<AttributeSet<Key>> {
self.raw.get_key_state() self.raw.get_key_state()