mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-21 14:03:11 -07:00
Fix setting a Feedback State Byte
This commit is contained in:
parent
3272f47dc6
commit
0e324a41a0
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ CHIAKI_EXPORT void chiaki_feedback_state_format_v9(uint8_t *buf, ChiakiFeedbackS
|
||||||
CHIAKI_EXPORT void chiaki_feedback_state_format_v12(uint8_t *buf, ChiakiFeedbackState *state)
|
CHIAKI_EXPORT void chiaki_feedback_state_format_v12(uint8_t *buf, ChiakiFeedbackState *state)
|
||||||
{
|
{
|
||||||
chiaki_feedback_state_format_v9(buf, state);
|
chiaki_feedback_state_format_v9(buf, state);
|
||||||
buf[0x10] = 0x0;
|
buf[0x19] = 0x0;
|
||||||
buf[0x1a] = 0x0;
|
buf[0x1a] = 0x0;
|
||||||
buf[0x1b] = 0x1; // 1 for Shock, 0 for Sense
|
buf[0x1b] = 0x1; // 1 for Shock, 0 for Sense
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue