mirror of
https://github.com/bitwarden/browser
synced 2025-12-31 23:53:37 +00:00
[PM-26013] Small Autotype Updates (#16498)
* [PM-26013] Update the default hotkey and change the uri scheme for autotype. * [PM-26013] Edit the matching logic for the autotype uri prefix.
This commit is contained in:
@@ -32,9 +32,9 @@ pub fn type_input(input: Vec<u16>) -> Result<(), ()> {
|
||||
let mut keyboard_inputs: Vec<INPUT> = Vec::new();
|
||||
|
||||
// Release hotkeys
|
||||
keyboard_inputs.push(build_virtual_key_input(InputKeyPress::Up, 0x12)); // alt
|
||||
keyboard_inputs.push(build_virtual_key_input(InputKeyPress::Up, 0x11)); // ctrl
|
||||
keyboard_inputs.push(build_unicode_input(InputKeyPress::Up, 105)); // i
|
||||
keyboard_inputs.push(build_virtual_key_input(InputKeyPress::Up, 0x10)); // shift
|
||||
keyboard_inputs.push(build_unicode_input(InputKeyPress::Up, 42)); // b
|
||||
|
||||
for i in input {
|
||||
let next_down_input = if i == TAB_KEY {
|
||||
|
||||
Reference in New Issue
Block a user