@@ -201,7 +201,6 @@
|
||||
"NavigatePrevious": ["NAVIGATE_PREVIOUS"],
|
||||
"NewKey": ["NEW"],
|
||||
"NonConvert": ["MUHENKAN"],
|
||||
"None": ["UNKNOWN"],
|
||||
"Notification": ["NOTIFICATION"],
|
||||
"NumLock": ["NUM_LOCK"],
|
||||
"NumberSign": ["POUND"],
|
||||
|
||||
@@ -101,8 +101,6 @@
|
||||
"IntlYen": ["yen"],
|
||||
"KanjiMode": ["Kanji"],
|
||||
"Katakana": ["Katakana"],
|
||||
"KbdIllumDown": ["KbdBrightnessDown"],
|
||||
"KbdIllumUp": ["KbdBrightnessUp"],
|
||||
"LaunchAudioBrowser": ["Music"],
|
||||
"LaunchCalendar": ["Calendar"],
|
||||
"LaunchDocuments": ["Document"],
|
||||
|
||||
@@ -166,10 +166,12 @@ class LogicalKeyboardKey extends KeyboardKey {
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
if (identical(this, other))
|
||||
if (identical(this, other)) {
|
||||
return true;
|
||||
if (other.runtimeType != runtimeType)
|
||||
}
|
||||
if (other.runtimeType != runtimeType) {
|
||||
return false;
|
||||
}
|
||||
return other is LogicalKeyboardKey
|
||||
&& other.keyId == keyId;
|
||||
}
|
||||
@@ -348,10 +350,12 @@ class PhysicalKeyboardKey extends KeyboardKey {
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
if (identical(this, other))
|
||||
if (identical(this, other)) {
|
||||
return true;
|
||||
if (other.runtimeType != runtimeType)
|
||||
}
|
||||
if (other.runtimeType != runtimeType) {
|
||||
return false;
|
||||
}
|
||||
return other is PhysicalKeyboardKey
|
||||
&& other.usbHidUsage == usbHidUsage;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user