core: start on key2Callback for the new callback that uses KeyEncoder

This commit is contained in:
Mitchell Hashimoto
2023-08-16 10:12:40 -07:00
parent a2d4e7ce29
commit 9b90692fc7
2 changed files with 68 additions and 29 deletions

View File

@@ -25,7 +25,7 @@ modify_other_keys_state_2: bool = false,
/// These together combine the legacy protocol because they're all
/// meant to be extensions that do not change any existing behavior
/// and therefore safe to combine.
fn legacy(
pub fn legacy(
self: *const KeyEncoder,
buf: []u8,
) ![]const u8 {