deserialize: Initial layer deserialization

So far, the code is able to deserialize and apply a single layer, as saved by
the Agent in binary format. It does not support macros and keymap switching
yet (it parses the latter, but will choke on the former), but the rest should be
handled fine.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
This commit is contained in:
Gergely Nagy
2017-01-06 09:05:00 +01:00
parent 00214eac7e
commit 3c817f0b1b
3 changed files with 262 additions and 0 deletions

8
right/src/deserialize.h Normal file
View File

@@ -0,0 +1,8 @@
#ifndef __DESERIALIZE_H__
#define __DESERIALIZE_H__ 1
#include <stdint.h>
void deserialize_Layer(const uint8_t *data, uint8_t targetLayer);
#endif