* 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:
Axel Dörfler 2010-04-15 09:00:11 +00:00
parent 7089514138
commit 8ef609cc5f
1 changed files with 4 additions and 2 deletions

View File

@ -239,8 +239,10 @@ open_keyboards(int target, const char* start, struct keyboard* previous)
if (::stat(path, &stat) != 0)
continue;
if (S_ISDIR(stat.st_mode))
return open_keyboards(target, path, previous);
if (S_ISDIR(stat.st_mode)) {
keyboard = open_keyboards(target, path, keyboard);
continue;
}
// Try to open it as a device
int fd = open(path, O_RDONLY);