input: add backwards compatible alias for `plus` to `+`

From #7320
Discussion #7340

There isn't a `physical` alias because there is no physical plus key
defined for the W3C keycode spec.
pull/7342/head
Mitchell Hashimoto 2025-05-12 15:32:27 -07:00
parent 7dc65adb1f
commit 507e808a7c
No known key found for this signature in database
GPG Key ID: 523D5DC389D273BC
1 changed files with 1 additions and 0 deletions

View File

@ -1218,6 +1218,7 @@ pub const Trigger = struct {
.{ "seven", Key{ .unicode = '7' } },
.{ "eight", Key{ .unicode = '8' } },
.{ "nine", Key{ .unicode = '9' } },
.{ "plus", Key{ .unicode = '+' } },
.{ "apostrophe", Key{ .unicode = '\'' } },
.{ "grave_accent", Key{ .physical = .backquote } },
.{ "left_bracket", Key{ .physical = .bracket_left } },