/usr/include/BALL/VIEW/INPUT/fakeDriver.h is in libballview1.4-dev 1.4.3~beta1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #include <BALL/VIEW/INPUT/inputDeviceDriver.h>
namespace BALL
{
namespace VIEW
{
class FakeDriver : public InputDeviceDriver, protected QThread
{
public:
FakeDriver(Scene* receiver)
: InputDeviceDriver(receiver) {}
bool setUp() { return true; }
bool tearDown() { return true; }
void setEnabled(bool enabled) { InputDeviceDriver::setEnabled(enabled); if(enabled) start(); }
private:
void run() { while(true) { emitPositionChange(1,2,-3,4,5,6); msleep(20); } }
};
}
}
|