summaryrefslogtreecommitdiff
path: root/src/nes/controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nes/controller.cc')
-rw-r--r--src/nes/controller.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nes/controller.cc b/src/nes/controller.cc
index f0d7728..e73f8e5 100644
--- a/src/nes/controller.cc
+++ b/src/nes/controller.cc
@@ -2,5 +2,14 @@
namespace nes
{
+ auto controller::read() -> std::uint8_t
+ {
+ // TODO
+ return 0x0;
+ }
+ auto controller::write(std::uint8_t) -> void
+ {
+ // TODO
+ }
} // namespace nes \ No newline at end of file