Make scrolling utilize mouse_kinetic_state_t, just like mouse movements. Fix scrolling issue by making distance float. Add new debug functions for ints and float.
This commit is contained in:
@@ -19,8 +19,14 @@
|
||||
void SetBufferUint16(uint8_t *buffer, uint32_t offset, uint16_t value);
|
||||
void SetBufferUint32(uint8_t *buffer, uint32_t offset, uint32_t value);
|
||||
|
||||
void SetBufferInt8(uint8_t *buffer, uint32_t offset, int8_t value);
|
||||
void SetBufferInt16(uint8_t *buffer, uint32_t offset, int16_t value);
|
||||
void SetBufferInt32(uint8_t *buffer, uint32_t offset, int32_t value);
|
||||
|
||||
void SetBufferUint8Be(uint8_t *buffer, uint32_t offset, uint8_t value);
|
||||
void SetBufferUint16Be(uint8_t *buffer, uint32_t offset, uint16_t value);
|
||||
void SetBufferUint32Be(uint8_t *buffer, uint32_t offset, uint32_t value);
|
||||
|
||||
void SetBufferFloat(uint8_t *buffer, uint32_t offset, float value);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user