diff options
author | sicarius <devnull@localhost> | 2007-02-19 21:57:03 +0100 |
---|---|---|
committer | sicarius <devnull@localhost> | 2007-02-19 21:57:03 +0100 |
commit | 42a38959ff5c097463c2c95d993e5934f100d223 (patch) | |
tree | 7ad00518e3fdd85a800f5c8bf48588e7f5e1a23a /source/Concept/Framework/modules/input/mouse_sensor.h | |
parent | b3196682b1d87c40156ed1b4092a7112dd0d80df (diff) | |
download | rc2007-soccer-42a38959ff5c097463c2c95d993e5934f100d223.tar rc2007-soccer-42a38959ff5c097463c2c95d993e5934f100d223.zip |
Code-stuff
Diffstat (limited to 'source/Concept/Framework/modules/input/mouse_sensor.h')
-rwxr-xr-x | source/Concept/Framework/modules/input/mouse_sensor.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source/Concept/Framework/modules/input/mouse_sensor.h b/source/Concept/Framework/modules/input/mouse_sensor.h index 30f9d53..460e387 100755 --- a/source/Concept/Framework/modules/input/mouse_sensor.h +++ b/source/Concept/Framework/modules/input/mouse_sensor.h @@ -42,9 +42,9 @@ public: this->pinSCK = (1 << 6);
this->registerConfig = 0x00;
this->registerPixelData = 0x08;
- this->registerSqual = 0x4;
- this->registerDeltaX = 0x3;
- this->registerDeltaY = 0x2;
+ this->registerSqual = 0x04;
+ this->registerDeltaX = 0x03;
+ this->registerDeltaY = 0x02;
this->configReset = 0x80;
this->configAwake = 0x01;
break;
@@ -52,13 +52,13 @@ public: this->hardwarePort = &PORTC;
this->hardwareDDR = &DDRC;
this->hardwarePin = &PINC;
- this->pinSDA = (1 << 5);
- this->pinSCK = (1 << 7);
+ this->pinSDA = (1 << 7);
+ this->pinSCK = (1 << 5);
this->registerConfig = 0x00;
this->registerPixelData = 0x08;
- this->registerSqual = 0x4;
- this->registerDeltaX = 0x3;
- this->registerDeltaY = 0x2;
+ this->registerSqual = 0x04;
+ this->registerDeltaX = 0x03;
+ this->registerDeltaY = 0x02;
this->configReset = 0x80;
this->configAwake = 0x01;
break;
|