From 15d4dcd0319c7da00f97eb51d89b9514f8c93f7a Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Wed, 23 Feb 2022 14:30:35 +0800 Subject: [PATCH] KeyHandlerInput // Add refs for charCode / keyCode intel. --- Source/Modules/ControllerModules/KeyHandlerInput.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Modules/ControllerModules/KeyHandlerInput.swift b/Source/Modules/ControllerModules/KeyHandlerInput.swift index 7469c7a3..a5105c49 100644 --- a/Source/Modules/ControllerModules/KeyHandlerInput.swift +++ b/Source/Modules/ControllerModules/KeyHandlerInput.swift @@ -19,6 +19,7 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR TH import Cocoa +// KeyCodes: https://eastmanreference.com/complete-list-of-applescript-key-codes enum KeyCode: UInt16 { case none = 0 case enter = 76 @@ -33,6 +34,7 @@ enum KeyCode: UInt16 { case delete = 117 } +// CharCodes: https://theasciicode.com.ar/ascii-control-characters/horizontal-tab-ascii-code-9.html enum CharCode: UInt16 { case space = 32 case backSpace = 8