versotile-org/verso

keyboard: support all key conversions

Opened this issue · 2 comments

Follow up from #67

Super, Capslock are not recognized by the webview.

I think this is simply because we haven't supported all key conversions. We can use this issue as feature request to add more key supports.

There are three methods that haven't supported all conversions yet:

fn get_servo_key_from_winit_key(key: &LogicalKey) -> Key {

fn get_servo_location_from_physical_key(physical_key: PhysicalKey) -> Location {

fn get_servo_code_from_physical_key(physical_key: PhysicalKey) -> Code {

Feel free to open PR to add some conversions. We can add this step by step. Perhaps we can also open more issues to list out missing keys.