1
0
mirror of synced 2024-11-27 15:00:49 +01:00

Merge remote-tracking branch 'origin/master'

This commit is contained in:
Dniel97 2024-10-04 16:07:18 +02:00
commit fadbd0d2bf
No known key found for this signature in database
GPG Key ID: 6180B3C768FB2E08

View File

@ -42,6 +42,8 @@ static HRESULT kizuna_usio_poll(void *ctx, struct usio_state *state)
uint8_t gamebtn_out = 0;
uint8_t x = 128;
uint8_t y = 128;
uint8_t z = 128;
uint8_t r = 128;
uint16_t coin_ct = 0;
uint16_t service_ct = 0;
@ -91,6 +93,8 @@ static HRESULT kizuna_usio_poll(void *ctx, struct usio_state *state)
state->analog[0] = x << 8;
state->analog[1] = y << 8;
state->analog[2] = z << 8;
state->analog[3] = r << 8;
state->coins[0].current_coin_count = coin_ct;
state->service.current_coin_count = service_ct;