Read analoge stick positions
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "../../../include/shared.hpp"
|
||||
#include "../../include/font_writer.hpp"
|
||||
#include "include/controller_state.hpp"
|
||||
#include <PSX/Periphery/periphery.hpp>
|
||||
#include <stdio.h>
|
||||
@@ -19,12 +20,13 @@ namespace ControllerTest {
|
||||
return true;
|
||||
}
|
||||
|
||||
controller_state.update(Periphery::get_primary_controller_as<JabyEngine::Periphery::GenericController>());
|
||||
controller_state.update(Periphery::get_primary_controller_as<JabyEngine::Periphery::AnalogeController>(), FontWriter::new_font_writer);
|
||||
return false;
|
||||
}
|
||||
|
||||
static void render() {
|
||||
controller_state.render();
|
||||
FontWriter::new_font_writer.render();
|
||||
Shared::back_menu.render();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user