2021-05-05 13:14:02 +00:00
|
|
|
#pragma once
|
|
|
|
#include "system.h"
|
|
|
|
#include "packet_utils.h"
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
double x;
|
|
|
|
double y;
|
|
|
|
uint8_t use;
|
|
|
|
} pkt_send_keystate;
|
2021-05-07 14:43:54 +00:00
|
|
|
size_t pkt_send_keystate_send(uint16_t view_id,
|
|
|
|
double x,
|
|
|
|
double y,
|
|
|
|
uint8_t use);
|
2021-05-05 13:14:02 +00:00
|
|
|
size_t pkt_send_keystate_encode(pkt_send_keystate *table);
|
|
|
|
pkt_desc pkt_send_keystate_desc[];
|
|
|
|
|
|
|
|
PKT_HANDLER_PROC(pkt_send_keystate_handler);
|
|
|
|
|