starts monitoring after recursive scanning
node monitoring requires the node directory to exist this fixes PS2 keyboard node monitoring when unpublishing/publishing git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20916 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -372,9 +372,6 @@ KeyboardInputDevice::KeyboardInputDevice()
|
|||||||
sLogFile = fopen("/var/log/keyboard_device_log.log", "a");
|
sLogFile = fopen("/var/log/keyboard_device_log.log", "a");
|
||||||
#endif
|
#endif
|
||||||
CALLED();
|
CALLED();
|
||||||
|
|
||||||
StartMonitoringDevice(kKeyboardDevicesDirectoryPS2);
|
|
||||||
StartMonitoringDevice(kKeyboardDevicesDirectoryUSB);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -448,6 +445,9 @@ KeyboardInputDevice::InitCheck()
|
|||||||
// TODO: this doesn't belong here!
|
// TODO: this doesn't belong here!
|
||||||
_RecursiveScan(kKeyboardDevicesDirectory);
|
_RecursiveScan(kKeyboardDevicesDirectory);
|
||||||
|
|
||||||
|
StartMonitoringDevice(kKeyboardDevicesDirectoryPS2);
|
||||||
|
StartMonitoringDevice(kKeyboardDevicesDirectoryUSB);
|
||||||
|
|
||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user