port: net: basic networking with barely working position sync

This commit is contained in:
fgsfds committed 2023-12-17 12:54:48 +01:00
1 parent 0a7faf2409
commit 6fc99e4c23
47 files changed
+7500 -101

No files matched your search

+15
View File
@@ -19,9 +19,24 @@
enum virtkey {
/* same order as SDL scancodes */
VK_KEYBOARD_BEGIN = 0,
VK_A = 4,
VK_Z = 29,
VK_1 = 30,
VK_9 = 38,
VK_0 = 39,
VK_RETURN = 40,
VK_ESCAPE = 41,
VK_BACKSPACE = 42,
VK_SPACE = 44,
VK_MINUS = 45,
VK_LEFTBRACKET = 47,
VK_RIGHTBRACKET = 48,
VK_SEMICOLON = 51,
VK_COMMA = 54,
VK_PERIOD = 55,
VK_DELETE = 76,
VK_LSHIFT = 225,
VK_RSHIFT = 229,
/* same order as SDL mouse buttons */
VK_MOUSE_BEGIN = 512,