diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2004-11-15 16:04:27 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2004-11-15 16:04:27 (GMT) |
commit | aee5707fed8541410816c0a1ce1f0aa17108b462 (patch) | |
tree | f2546786adb04fac0b9d9f3999bc27378fcd751d /Graphic_Equalizer/src/mouse.hcc | |
parent | 1db17be5a3ba68ffb5b9b23af6ac52a1b29e89ed (diff) | |
download | TASS-aee5707fed8541410816c0a1ce1f0aa17108b462.zip TASS-aee5707fed8541410816c0a1ce1f0aa17108b462.tar.gz TASS-aee5707fed8541410816c0a1ce1f0aa17108b462.tar.bz2 |
Added display of active buttons.
Added equalizer preset storage.
Diffstat (limited to 'Graphic_Equalizer/src/mouse.hcc')
-rw-r--r-- | Graphic_Equalizer/src/mouse.hcc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Graphic_Equalizer/src/mouse.hcc b/Graphic_Equalizer/src/mouse.hcc index 4d28097..9212133 100644 --- a/Graphic_Equalizer/src/mouse.hcc +++ b/Graphic_Equalizer/src/mouse.hcc @@ -47,17 +47,17 @@ */
macro proc mouse_main(mousedata)
{
- unsigned 14 touch_sampler;
+ unsigned 18 touch_sampler;
unsigned 10 x, oldx;
unsigned 9 y, oldy;
unsigned 3 mousestate, oldmousestate;
unsigned 1 touch, touched, oldtouched;
/*
- * We only check for mouse states once every 2^14 time. This to
+ * We only check for mouse states once every 2^18 time. This to
* overcome the sampling of the 'Touch' state of the RC200 libs. When
- * using newer libs this might be overkill, e.g. smaller values may due
- * or sampling all together will be redundant.
+ * using newer libs this might be overkill, e.g. smaller values may
+ * work or sampling all together will be redundant.
*/
for(touch_sampler = 1;; touch_sampler++) {
if (!touch_sampler) {
|