Skip to content

Commit

Permalink
Add missing public modifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Jan 8, 2024
1 parent 131bc4d commit 3c58672
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/KeyCodes/NSEvent+Key.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Carbon.HIToolbox
import AppKit

extension NSEvent {
var keyModifierFlags: KeyModifierFlags? {
public var keyModifierFlags: KeyModifierFlags? {
guard type == .keyDown || type == .keyUp else {
return nil
}
Expand Down Expand Up @@ -35,7 +35,7 @@ extension NSEvent {
return flags
}

var keyboardHIDUsage: KeyboardHIDUsage? {
public var keyboardHIDUsage: KeyboardHIDUsage? {
guard type == .keyDown || type == .keyUp else {
return nil
}
Expand Down

0 comments on commit 3c58672

Please sign in to comment.