Remove "note that" in our documentation (as per style guide) (#120842)

* lerp documentation

* Remove Note, Note That from repo

* Improve BorderSide documentation.

* apply review comments
This commit is contained in:
Ian Hickson
2023-02-17 14:27:33 -08:00
committed by GitHub
parent 9fe556705b
commit 6205c110d6
72 changed files with 256 additions and 206 deletions

View File

@@ -76,18 +76,21 @@ class PhysicalKeyData {
return outputMap;
}
/// Parses entries from Androids Generic.kl scan code data file.
/// Parses entries from Android's `Generic.kl` scan code data file.
///
/// Lines in this file look like this (without the ///):
///
/// ```
/// key 100 ALT_RIGHT
/// # key 101 "KEY_LINEFEED"
/// key 477 F12 FUNCTION
/// ```
///
/// We parse the commented out lines as well as the non-commented lines, so
/// that we can get names for all of the available scan codes, not just ones
/// defined for the generic profile.
///
/// Also, note that some keys (notably MEDIA_EJECT) can be mapped to more than
/// Some keys (notably `MEDIA_EJECT`) can be mapped to more than
/// one scan code, so the mapping can't just be 1:1, it has to be 1:many.
static Map<String, List<int>> _readAndroidScanCodes(String keyboardLayout, String nameMap) {
final RegExp keyEntry = RegExp(