summaryrefslogtreecommitdiff
path: root/src/inspector
diff options
context:
space:
mode:
authorMitchell Hashimoto <m@mitchellh.com>2025-05-08 20:53:09 -0700
committerMitchell Hashimoto <m@mitchellh.com>2025-05-09 10:01:06 -0700
commit5962696c3b0f42f863b91f6995d2d41e35dcc550 (patch)
treeac2e8f67d2b96abe290cfcc68bb0a076f8c9bf40 /src/inspector
parent11a623aa17536d3dd48abb223e3e8639a65d0b12 (diff)
input: remove `physical_key` from the key event (all keys are physical)
Diffstat (limited to 'src/inspector')
-rw-r--r--src/inspector/key.zig7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/inspector/key.zig b/src/inspector/key.zig
index 10626d6bd..dbccb47a8 100644
--- a/src/inspector/key.zig
+++ b/src/inspector/key.zig
@@ -117,13 +117,6 @@ pub const Event = struct {
_ = cimgui.c.igTableSetColumnIndex(1);
cimgui.c.igText("%s", @tagName(self.event.key).ptr);
}
- if (self.event.physical_key != self.event.key) {
- cimgui.c.igTableNextRow(cimgui.c.ImGuiTableRowFlags_None, 0);
- _ = cimgui.c.igTableSetColumnIndex(0);
- cimgui.c.igText("Physical Key");
- _ = cimgui.c.igTableSetColumnIndex(1);
- cimgui.c.igText("%s", @tagName(self.event.physical_key).ptr);
- }
if (!self.event.mods.empty()) {
cimgui.c.igTableNextRow(cimgui.c.ImGuiTableRowFlags_None, 0);
_ = cimgui.c.igTableSetColumnIndex(0);