Skip to content

Commit

Permalink
fix: fix typo in key mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
socsieng committed Jan 6, 2021
1 parent 8794a45 commit c4a4997
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Sources/SendKeysLib/KeyCodes.swift
Expand Up @@ -50,7 +50,7 @@ struct KeyCodes {
static let f18 : UInt16 = 0x4F
static let f19 : UInt16 = 0x50
static let f20 : UInt16 = 0x5A

// US-ANSI Keyboard Positions
// eg. These key codes are for the physical key (in any keyboard layout)
// at the location of the named key in the US-ANSI layout.
Expand Down Expand Up @@ -91,7 +91,7 @@ struct KeyCodes {
static let seven : UInt16 = 0x1A
static let eight : UInt16 = 0x1C
static let nine : UInt16 = 0x19

static let equals : UInt16 = 0x18
static let minus : UInt16 = 0x1B
static let semicolon : UInt16 = 0x29
Expand All @@ -103,7 +103,7 @@ struct KeyCodes {
static let grave : UInt16 = 0x32
static let leftBracket : UInt16 = 0x21
static let rightBracket : UInt16 = 0x1E

static let keypadDecimal : UInt16 = 0x41
static let keypadMultiply : UInt16 = 0x43
static let keypadPlus : UInt16 = 0x45
Expand Down Expand Up @@ -230,9 +230,9 @@ struct KeyCodes {
"keypaddecimal": keypadDecimal,
"keypadmultiply": keypadMultiply,
"keypadplus": keypadPlus,
"keypadvlear": keypadClear,
"keypadfivide": keypadDivide,
"keypadrnter": keypadEnter,
"keypadclear": keypadClear,
"keypaddivide": keypadDivide,
"keypadenter": keypadEnter,
"keypadminus": keypadMinus,
"keypadequals": keypadEquals,
"keypad0": keypad0,
Expand Down

0 comments on commit c4a4997

Please sign in to comment.