Tweak kinetic mouse values further. Temporarily maximize / minimize the acceleratedSpeed / deceleratedSpeed values for testing purposes.
This commit is contained in:
@@ -125,5 +125,4 @@ void InitPeripherals(void)
|
|||||||
#endif
|
#endif
|
||||||
InitKeyDebouncer();
|
InitKeyDebouncer();
|
||||||
EEPROM_Init();
|
EEPROM_Init();
|
||||||
//microseconds_init();
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,6 @@ void UsbCommand_GetDebugBuffer(void)
|
|||||||
SetDebugBufferUint32(40, CurrentTime);
|
SetDebugBufferUint32(40, CurrentTime);
|
||||||
|
|
||||||
memcpy(GenericHidOutBuffer, DebugBuffer, USB_GENERIC_HID_OUT_BUFFER_LENGTH);
|
memcpy(GenericHidOutBuffer, DebugBuffer, USB_GENERIC_HID_OUT_BUFFER_LENGTH);
|
||||||
|
|
||||||
/* uint64_t ticks = microseconds_get_ticks();
|
|
||||||
uint32_t microseconds = microseconds_convert_to_microseconds(ticks);
|
|
||||||
uint32_t milliseconds = microseconds/1000;
|
|
||||||
*(uint32_t*)(GenericHidOutBuffer+1) = ticks;
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetDebugBufferUint8(uint32_t offset, uint8_t value)
|
void SetDebugBufferUint8(uint32_t offset, uint8_t value)
|
||||||
|
|||||||
@@ -29,12 +29,12 @@ static mouse_kinetic_state_t mouseMoveState = {
|
|||||||
.downState = SerializedMouseAction_MoveDown,
|
.downState = SerializedMouseAction_MoveDown,
|
||||||
.leftState = SerializedMouseAction_MoveLeft,
|
.leftState = SerializedMouseAction_MoveLeft,
|
||||||
.rightState = SerializedMouseAction_MoveRight,
|
.rightState = SerializedMouseAction_MoveRight,
|
||||||
.intMultiplier = 31.25,
|
.intMultiplier = 10,
|
||||||
.initialSpeed = 3,
|
.initialSpeed = 10,
|
||||||
.acceleration = 10,
|
.acceleration = 30,
|
||||||
.deceleratedSpeed = 8,
|
.deceleratedSpeed = 1, // 25
|
||||||
.baseSpeed = 16,
|
.baseSpeed = 50,
|
||||||
.acceleratedSpeed = 32,
|
.acceleratedSpeed = 255, // 100
|
||||||
};
|
};
|
||||||
|
|
||||||
static mouse_kinetic_state_t mouseScrollState = {
|
static mouse_kinetic_state_t mouseScrollState = {
|
||||||
@@ -42,12 +42,12 @@ static mouse_kinetic_state_t mouseScrollState = {
|
|||||||
.downState = SerializedMouseAction_ScrollUp,
|
.downState = SerializedMouseAction_ScrollUp,
|
||||||
.leftState = SerializedMouseAction_ScrollLeft,
|
.leftState = SerializedMouseAction_ScrollLeft,
|
||||||
.rightState = SerializedMouseAction_ScrollRight,
|
.rightState = SerializedMouseAction_ScrollRight,
|
||||||
.intMultiplier = 0.75,
|
.intMultiplier = 1,
|
||||||
.initialSpeed = 8,
|
.initialSpeed = 8,
|
||||||
.acceleration = 8,
|
.acceleration = 8,
|
||||||
.deceleratedSpeed = 8,
|
.deceleratedSpeed = 1, // 25
|
||||||
.baseSpeed = 16,
|
.baseSpeed = 12,
|
||||||
.acceleratedSpeed = 32,
|
.acceleratedSpeed = 255, // 100
|
||||||
};
|
};
|
||||||
|
|
||||||
void processMouseKineticState(mouse_kinetic_state_t *kineticState)
|
void processMouseKineticState(mouse_kinetic_state_t *kineticState)
|
||||||
|
|||||||
Reference in New Issue
Block a user