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:
László Monda
2017-11-28 02:01:26 +01:00
parent 0867132ba3
commit 729e0be0ad
7 changed files with 82 additions and 34 deletions

View File

@@ -39,3 +39,23 @@ void SetDebugBufferUint32(uint32_t offset, uint32_t value)
{
SetBufferUint32(DebugBuffer, offset, value);
}
void SetDebugBufferInt8(uint32_t offset, int8_t value)
{
SetBufferInt8(DebugBuffer, offset, value);
}
void SetDebugBufferInt16(uint32_t offset, int16_t value)
{
SetBufferInt16(DebugBuffer, offset, value);
}
void SetDebugBufferInt32(uint32_t offset, int32_t value)
{
SetBufferInt32(DebugBuffer, offset, value);
}
void SetDebugBufferFloat(uint32_t offset, float value)
{
*(float*)(DebugBuffer + offset) = value;
}