summaryrefslogtreecommitdiff
path: root/agbx/source/key/getkeymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'agbx/source/key/getkeymap.c')
-rw-r--r--agbx/source/key/getkeymap.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/agbx/source/key/getkeymap.c b/agbx/source/key/getkeymap.c
new file mode 100644
index 0000000..457bf42
--- /dev/null
+++ b/agbx/source/key/getkeymap.c
@@ -0,0 +1,15 @@
+/*
+ Copyright 2022 Gabriel Jensen.
+ This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
+ If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
+*/
+
+#include <agbx/priv.h>
+
+#include <agbx/key.h>
+
+agbx_keymap agbx_getkeymap(void) {
+ agbx_keymap map;
+ map._keys = agbx_get10(0x4000130u);
+ return map;
+}