diff options
| author | Mitchell Hashimoto <m@mitchellh.com> | 2025-05-08 20:53:09 -0700 |
|---|---|---|
| committer | Mitchell Hashimoto <m@mitchellh.com> | 2025-05-09 10:01:06 -0700 |
| commit | 5962696c3b0f42f863b91f6995d2d41e35dcc550 (patch) | |
| tree | ac2e8f67d2b96abe290cfcc68bb0a076f8c9bf40 /src/inspector | |
| parent | 11a623aa17536d3dd48abb223e3e8639a65d0b12 (diff) | |
input: remove `physical_key` from the key event (all keys are physical)
Diffstat (limited to 'src/inspector')
| -rw-r--r-- | src/inspector/key.zig | 7 |
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); |
