* Now actually launch more than one keyboard thread (before that would have
worked only if all drivers were in one directory). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36281 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -239,8 +239,10 @@ open_keyboards(int target, const char* start, struct keyboard* previous)
|
|||||||
if (::stat(path, &stat) != 0)
|
if (::stat(path, &stat) != 0)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (S_ISDIR(stat.st_mode))
|
if (S_ISDIR(stat.st_mode)) {
|
||||||
return open_keyboards(target, path, previous);
|
keyboard = open_keyboards(target, path, keyboard);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// Try to open it as a device
|
// Try to open it as a device
|
||||||
int fd = open(path, O_RDONLY);
|
int fd = open(path, O_RDONLY);
|
||||||
|
|||||||
Reference in New Issue
Block a user