mirror of
https://github.com/JesseTG/melonds-ds.git
synced 2024-11-30 18:20:30 +00:00
Hide the pointer coordinates overlay
This commit is contained in:
parent
bff1880028
commit
caf49a6ef7
@ -6,7 +6,7 @@ corename = "melonDS DS"
|
||||
categories = "Emulator"
|
||||
license = "GPLv3"
|
||||
permissions = ""
|
||||
display_version = "0.2.2"
|
||||
display_version = "0.2.3"
|
||||
|
||||
# Hardware Information
|
||||
manufacturer = "Nintendo"
|
||||
|
@ -204,18 +204,19 @@ void melonds::InputState::Update(const ScreenLayoutData& screen_layout_data) noe
|
||||
touch = screen_layout_data.TransformPointerInput(pointerInput);
|
||||
hybridTouch = screen_layout_data.TransformPointerInputToHybridScreen(pointerInput);
|
||||
|
||||
char text[1024];
|
||||
snprintf(text, sizeof(text), "Pointer: (%d, %d) -> (%d, %d)", pointerInput.x, pointerInput.y, touch.x, touch.y);
|
||||
retro_message_ext message{
|
||||
.msg = text,
|
||||
.duration = 60,
|
||||
.priority = 0,
|
||||
.level = RETRO_LOG_DEBUG,
|
||||
.target = RETRO_MESSAGE_TARGET_OSD,
|
||||
.type = RETRO_MESSAGE_TYPE_STATUS,
|
||||
.progress = -1
|
||||
};
|
||||
retro::set_message(&message);
|
||||
// TODO: Re-add this later when I add support for toggling it
|
||||
// char text[1024];
|
||||
// snprintf(text, sizeof(text), "Pointer: (%d, %d) -> (%d, %d)", pointerInput.x, pointerInput.y, touch.x, touch.y);
|
||||
// retro_message_ext message{
|
||||
// .msg = text,
|
||||
// .duration = 60,
|
||||
// .priority = 0,
|
||||
// .level = RETRO_LOG_DEBUG,
|
||||
// .target = RETRO_MESSAGE_TARGET_OSD,
|
||||
// .type = RETRO_MESSAGE_TYPE_STATUS,
|
||||
// .progress = -1
|
||||
// };
|
||||
// retro::set_message(&message);
|
||||
}
|
||||
|
||||
if (cursorMode == CursorMode::Timeout) {
|
||||
|
Loading…
Reference in New Issue
Block a user