use the -newos toolchain even if -elf is present.
[newos.git] / apps / inputd / InputDevice.cpp
blob4606a8b227e2d9d441c484aeb0be86a1dad24faf
1 /*
2 ** Copyright 2002, Travis Geiselbrecht. All rights reserved.
3 ** Distributed under the terms of the NewOS License.
4 */
5 #include <sys/syscalls.h>
7 #include "InputDevice.h"
9 int InputDevice::Run()
11 return _kern_thread_resume_thread(_kern_thread_create_thread("InputDevice", &ThreadEntry, this));
14 int InputDevice::ThreadEntry(void *_dev)
16 InputDevice *dev = (InputDevice *)_dev;
17 return dev->_Run();