vkeyboard: Use a generic slice instead of a vector
This commit is contained in:
@ -41,7 +41,7 @@ impl VirtualKeyboard {
|
|||||||
// TODO: error out if keymap not set
|
// TODO: error out if keymap not set
|
||||||
pub fn switch(
|
pub fn switch(
|
||||||
&self,
|
&self,
|
||||||
keycodes: &Vec<KeyCode>,
|
keycodes: &[KeyCode],
|
||||||
action: PressType,
|
action: PressType,
|
||||||
timestamp: Timestamp,
|
timestamp: Timestamp,
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user