can read mouse position via mmio

This commit is contained in:
minjaesong
2020-05-15 02:54:01 +09:00
parent ffe314bd61
commit 75bb177106
10 changed files with 348 additions and 18 deletions

View File

@@ -37,6 +37,23 @@ User area: 8 MB, hardware area: 8 MB
--------------------------------------------------------------------------------
IO Device
Endianness: little
MMIO
0..31: Raw Keyboard Buffer read. Won't shift the key buffer
32..33: Mouse X pos
34..35: Mouse Y pos
36: Mouse down? (1 for TRUE, 0 for FALSE)
37: Read/Write single key input. Key buffer will be shifted. Manual writing is
usually unnecessary as such action must be automatically managed via LibGDX
input processing.
--------------------------------------------------------------------------------
VRAM Bank 0 (256 kB)
Endianness: little