SokIM icon indicating copy to clipboard operation
SokIM copied to clipboard

여러개의 한영전환 단축키 부여

Open haydnhkim opened this issue 1 year ago • 0 comments

한영전환 단축키를 여러개 선택할 수 있는 기능 추가를 검토 요청드립니다.

macOS 기본 설정처럼 캡스락 눌렀을 때와 컨트롤 스페이스 눌렀을 때 둘 다 속 입력기의 한영전환이 되도록 하고 싶습니다. Better Touch Tool 이용해서 캡스락 눌렸을 때 컨트롤 + 스페이스 키 액션이 발생하도록 단축키 설정도 해보았는데 속 입력기의 한영전환으로 입력이 들어가진 않아서.. 기능 추가를 요청드리게 되었습니다.

속입력기 한영전환 단축키: 컨트롤 + 스페이스 Better Touch Tool에 캡스락 단축키 등록: 컨트롤 + 스페이스 키 입력 발생하도록 설정 위처럼 설정 후 캡스락을 여러번 눌렀을 때 나온 디버깅 모드 로그입니다.

2023-05-09 00:14:41.995 Db SokIM[61520:19667c] [com.apple.CFBundle:plugin] AddInstanceForFactory: Added instance on 0x12a0493a0 for <CFUUID 0x12a049090> 13AA9C44-6F1B-11D4-907C-0005028F18D5
2023-05-09 00:14:41.995 Db SokIM[61520:19667c] [com.apple.CFBundle:plugin] Created instance of plugin for factory <CFUUID 0x12a049090> 13AA9C44-6F1B-11D4-907C-0005028F18D5 type <CFUUID 0x12a045d20> 7DDEECA8-A7B4-11DA-8A0E-0014519758EF
2023-05-09 00:14:41.995 A  SokIM[61520:19667c] (TCC) TCCAccessRequest() IPC
2023-05-09 00:14:42.002 A  SokIM[61520:19667c] (TCC) TCCAccessRequest() IPC
2023-05-09 00:14:42.003 A  SokIM[61520:19667c] (TCC) TCCAccessRequest() IPC
2023-05-09 00:14:42.009 Df SokIM[61520:19667c] [com.apple.iohid:client] Released connection: 27C112E1-967F-4BA7-A22B-CC8F257E1283
{
    UUID = "27C112E1-967F-4BA7-A22B-CC8F257E1283";
    caller = "IOKit: IOHIDSetModifierLockState + 84";
    dispatchQueue = 0;
    eventCount = 0;
    eventMask = 0;
    port = 54691;
    resetCount = 0;
    runloop = 0;
    services =     (
        4294968655,
        4294968799,
        4294968416,
        4294968609,
        4294968753,
        4294968563,
        4294968707,
        4294968851,
        4294968661,
        4294968805,
        4294968615,
        4294968759,
        4295102665,
        4294968569,
        4294968713,
        4294968667,
        4294968811,
        4294968621,
        4294968765,
        4294968575,
        4294968719,
        4294969773,
        4294968673,
        4294968817,
        4294969822,
        4294968627,
        4294968771,
        4294969825,
        4294968581,
        4294968725,
        4295102441,
        4294968679,
        4294968823,
        4294968633,
        4294968777,
        4294970741,
2023-05-09 00:14:42.010 Db SokIM[61520:19667c] [com.apple.defaults:User Defaults] looked up value <private> for key Debug in CFPrefsPlistSource<0x12a00b8b0> (Domain: com.kiding.inputmethod.sok, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No) via CFPrefsSearchListSource<0x12a1b8cb0> (Domain: com.kiding.inputmethod.sok, Container: (null))
2023-05-09 00:14:42.010 Db SokIM[61520:19667c] SokIM/Helpers.swift: setKeyboardCapsLock(enabled:) IOHIDSetModifierLockState 성공: <IOHIDDevice 0x12fc245e0 [0x1eae1e820]  'ClassName=AppleHIDTransportHIDDevice' Transport=SPI VendorID=1452 ProductID=834 Manufacturer=Apple Inc. Product=Apple Internal Keyboard / Trackpad PrimaryUsagePage=1 PrimaryUsage=6 ReportInterval=8000>
2023-05-09 00:14:42.013 Db SokIM[61520:19667c] [com.apple.defaults:User Defaults] looked up value <private> for key Debug in CFPrefsPlistSource<0x12a00b8b0> (Domain: com.kiding.inputmethod.sok, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No) via CFPrefsSearchListSource<0x12a1b8cb0> (Domain: com.kiding.inputmethod.sok, Container: (null))
2023-05-09 00:14:42.013 Db SokIM[61520:19667c] SokIM/Helpers.swift: setKeyboardCapsLock(enabled:) IOHIDDeviceSetValue 성공: <IOHIDDevice 0x12fc245e0 [0x1eae1e820]  'ClassName=AppleHIDTransportHIDDevice' Transport=SPI VendorID=1452 ProductID=834 Manufacturer=Apple Inc. Product=Apple Internal Keyboard / Trackpad PrimaryUsagePage=1 PrimaryUsage=6 ReportInterval=8000>
2023-05-09 00:14:42.018 Df SokIM[61520:19667c] [com.apple.iohid:client] Released connection: 870B8D1D-6AA0-4773-9F40-E4AABF206D95
{
    UUID = "870B8D1D-6AA0-4773-9F40-E4AABF206D95";
    caller = "IOKit: IOHIDSetModifierLockState + 84";
    dispatchQueue = 0;
    eventCount = 0;
    eventMask = 0;
    port = 28495;
    resetCount = 0;
    runloop = 0;
    services =     (
        4294968655,
        4294968799,
        4294968416,
        4294968609,
        4294968753,
        4294968563,
        4294968707,
        4294968851,
        4294968661,
        4294968805,
        4294968615,
        4294968759,
        4295102665,
        4294968569,
        4294968713,
        4294968667,
        4294968811,
        4294968621,
        4294968765,
        4294968575,
        4294968719,
        4294969773,
        4294968673,
        4294968817,
        4294969822,
        4294968627,
        4294968771,
        4294969825,
        4294968581,
        4294968725,
        4295102441,
        4294968679,
        4294968823,
        4294968633,
        4294968777,
        4294970741,
2023-05-09 00:14:42.018 Db SokIM[61520:19667c] [com.apple.defaults:User Defaults] looked up value <private> for key Debug in CFPrefsPlistSource<0x12a00b8b0> (Domain: com.kiding.inputmethod.sok, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No) via CFPrefsSearchListSource<0x12a1b8cb0> (Domain: com.kiding.inputmethod.sok, Container: (null))
2023-05-09 00:14:42.018 Db SokIM[61520:19667c] SokIM/Helpers.swift: setKeyboardCapsLock(enabled:) IOHIDSetModifierLockState 성공: <IOHIDDevice 0x12fc24480 [0x1eae1e820]  'ClassName=IOHIDUserDevice' VendorID=1452 ProductID=34304 Product=TouchBarUserDevice PrimaryUsagePage=1 PrimaryUsage=6 ReportInterval=8000>
2023-05-09 00:14:42.021 E  SokIM[61520:19667c] SokIM/Helpers.swift: setKeyboardCapsLock(enabled:) IOHIDDeviceCopyMatchingElements 실패: <IOHIDDevice 0x12fc24480 [0x1eae1e820]  'ClassName=IOHIDUserDevice' VendorID=1452 ProductID=34304 Product=TouchBarUserDevice PrimaryUsagePage=1 PrimaryUsage=6 ReportInterval=8000>
2023-05-09 00:14:42.022 E  SokIM[61520:19667c] SokIM/Helpers.swift: setKeyboardCapsLock(enabled:) IOServiceOpen 실패: 52687
2023-05-09 00:14:42.022 Db SokIM[61520:23e41f] [com.apple.CFBundle:plugin] RemoveInstanceForFactory: Removed instance on 0x12a0493a0 for <CFUUID 0x12a049090> 13AA9C44-6F1B-11D4-907C-0005028F18D5
2023-05-09 00:14:42.022 Db SokIM[61520:23e41f] [com.apple.CFBundle:plugin] RemoveInstanceForFactory: Removed instance on 0x12a0493a0 for <CFUUID 0x12a049090> 13AA9C44-6F1B-11D4-907C-0005028F18D5
2023-05-09 00:14:42.022 Db SokIM[61520:23e41f] [com.apple.CFBundle:plugin] RemoveInstanceForFactory: Removed instance on 0x12a0493a0 for <CFUUID 0x12a049090> 13AA9C44-6F1B-11D4-907C-0005028F18D5
2023-05-09 00:14:42.094 Db SokIM[61520:19667c] [com.apple.CFBundle:plugin] 1 factories found for requested plugin type <CFUUID 0x12a045d20> 7DDEECA8-A7B4-11DA-8A0E-0014519758EF in plugin CFBundle/CFPlugIn 0x12a048760 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, loaded)
2023-05-09 00:14:42.094 Db SokIM[61520:19667c] [com.apple.CFBundle:plugin] AddInstanceForFactory: Added instance on 0x12a0493a0 for <CFUUID 0x12a049090> 13AA9C44-6F1B-11D4-907C-0005028F18D5
2023-05-09 00:14:42.094 Db SokIM[61520:19667c] [com.apple.CFBundle:plugin] Created instance of plugin for factory <CFUUID 0x12a049090> 13AA9C44-6F1B-11D4-907C-0005028F18D5 type <CFUUID 0x12a045d20> 7DDEECA8-A7B4-11DA-8A0E-0014519758EF
2023-05-09 00:14:42.094 Db SokIM[61520:19667c] [com.apple.CFBundle:plugin] 1 factories found for requested plugin type <CFUUID 0x12a045d20> 7DDEECA8-A7B4-11DA-8A0E-0014519758EF in plugin CFBundle/CFPlugIn 0x12a048760 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, loaded)
2023-05-09 00:14:42.094 Db SokIM[61520:19667c] [com.apple.CFBundle:plugin] AddInstanceForFactory: Added instance on 0x12a0493a0 for <CFUUID 0x12a049090> 13AA9C44-6F1B-11D4-907C-0005028F18D5
2023-05-09 00:14:42.094 Db SokIM[61520:19667c] [com.apple.CFBundle:plugin] Created instance of plugin for factory <CFUUID 0x12a049090> 13AA9C44-6F1B-11D4-907C-0005028F18D5 type <CFUUID 0x12a045d20> 7DDEECA8-A7B4-11DA-8A0E-0014519758EF
2023-05-09 00:14:42.095 Db SokIM[61520:19667c] [com.apple.CFBundle:plugin] 1 factories found for requested plugin type <CFUUID 0x12a045d20> 7DDEECA8-A7B4-11DA-8A0E-0014519758EF in plugin CFBundle/CFPlugIn 0x12a048760 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, loaded)
2023-05-09 00:14:42.095 Db SokIM[61520:19667c] [com.apple.CFBundle:plugin] AddInstanceForFactory: Added instance on 0x12a0493a0 for <CFUUID 0x12a049090> 13AA9C44-6F1B-11D4-907C-0005028F18D5
2023-05-09 00:14:42.095 Db SokIM[61520:19667c] [com.apple.CFBundle:plugin] Created instance of plugin for factory <CFUUID 0x12a049090> 13AA9C44-6F1B-11D4-907C-0005028F18D5 type <CFUUID 0x12a045d20> 7DDEECA8-A7B4-11DA-8A0E-0014519758EF
2023-05-09 00:14:42.095 A  SokIM[61520:19667c] (TCC) TCCAccessRequest() IPC
2023-05-09 00:14:42.096 A  SokIM[61520:19667c] (TCC) TCCAccessRequest() IPC
2023-05-09 00:14:42.096 A  SokIM[61520:19667c] (TCC) TCCAccessRequest() IPC
2023-05-09 00:14:42.107 Df SokIM[61520:19667c] [com.apple.iohid:client] Released connection: 5992646D-6920-4B6C-B2AE-9B7146E7FF4C
{
    UUID = "5992646D-6920-4B6C-B2AE-9B7146E7FF4C";
    caller = "IOKit: IOHIDSetModifierLockState + 84";
    dispatchQueue = 0;
    eventCount = 0;
    eventMask = 0;
    port = 28499;
    resetCount = 0;
    runloop = 0;
    services =     (
        4294968655,
        4294968799,
        4294968416,
        4294968609,
        4294968753,
        4294968563,
        4294968707,
        4294968851,
        4294968661,
        4294968805,
        4294968615,
        4294968759,
        4295102665,
        4294968569,
        4294968713,
        4294968667,
        4294968811,
        4294968621,
        4294968765,
        4294968575,
        4294968719,
        4294969773,
        4294968673,
        4294968817,
        4294969822,
        4294968627,
        4294968771,
        4294969825,
        4294968581,
        4294968725,
        4295102441,
        4294968679,
        4294968823,
        4294968633,
        4294968777,
        4294970741,
2023-05-09 00:14:42.107 Db SokIM[61520:19667c] [com.apple.defaults:User Defaults] looked up value <private> for key Debug in CFPrefsPlistSource<0x12a00b8b0> (Domain: com.kiding.inputmethod.sok, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No) via CFPrefsSearchListSource<0x12a1b8cb0> (Domain: com.kiding.inputmethod.sok, Container: (null))
2023-05-09 00:14:42.107 Db SokIM[61520:19667c] SokIM/Helpers.swift: setKeyboardCapsLock(enabled:) IOHIDSetModifierLockState 성공: <IOHIDDevice 0x128fd8c80 [0x1eae1e820]  'ClassName=AppleHIDTransportHIDDevice' Transport=SPI VendorID=1452 ProductID=834 Manufacturer=Apple Inc. Product=Apple Internal Keyboard / Trackpad PrimaryUsagePage=1 PrimaryUsage=6 ReportInterval=8000>
2023-05-09 00:14:42.114 Db SokIM[61520:19667c] [com.apple.defaults:User Defaults] looked up value <private> for key Debug in CFPrefsPlistSource<0x12a00b8b0> (Domain: com.kiding.inputmethod.sok, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No) via CFPrefsSearchListSource<0x12a1b8cb0> (Domain: com.kiding.inputmethod.sok, Container: (null))
2023-05-09 00:14:42.114 Db SokIM[61520:19667c] SokIM/Helpers.swift: setKeyboardCapsLock(enabled:) IOHIDDeviceSetValue 성공: <IOHIDDevice 0x128fd8c80 [0x1eae1e820]  'ClassName=AppleHIDTransportHIDDevice' Transport=SPI VendorID=1452 ProductID=834 Manufacturer=Apple Inc. Product=Apple Internal Keyboard / Trackpad PrimaryUsagePage=1 PrimaryUsage=6 ReportInterval=8000>
2023-05-09 00:14:42.114 E  SokIM[61520:19667c] SokIM/Helpers.swift: setKeyboardCapsLock(enabled:) IOServiceOpen 실패: 52687
2023-05-09 00:14:42.119 Df SokIM[61520:19667c] [com.apple.iohid:client] Released connection: B9AC97FC-669D-4668-BDA1-CB4A87B0EB63
{
    UUID = "B9AC97FC-669D-4668-BDA1-CB4A87B0EB63";
    caller = "IOKit: IOHIDSetModifierLockState + 84";
    dispatchQueue = 0;
    eventCount = 0;
    eventMask = 0;
    port = 82099;
    resetCount = 0;
    runloop = 0;
    services =     (
        4294968655,
        4294968799,
        4294968416,
        4294968609,
        4294968753,
        4294968563,
        4294968707,
        4294968851,
        4294968661,
        4294968805,
        4294968615,
        4294968759,
        4295102665,
        4294968569,
        4294968713,
        4294968667,
        4294968811,
        4294968621,
        4294968765,
        4294968575,
        4294968719,
        4294969773,
        4294968673,
        4294968817,
        4294969822,
        4294968627,
        4294968771,
        4294969825,
        4294968581,
        4294968725,
        4295102441,
        4294968679,
        4294968823,
        4294968633,
        4294968777,
        4294970741,
2023-05-09 00:14:42.120 Db SokIM[61520:19667c] [com.apple.defaults:User Defaults] looked up value <private> for key Debug in CFPrefsPlistSource<0x12a00b8b0> (Domain: com.kiding.inputmethod.sok, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No) via CFPrefsSearchListSource<0x12a1b8cb0> (Domain: com.kiding.inputmethod.sok, Container: (null))
2023-05-09 00:14:42.120 Db SokIM[61520:19667c] SokIM/Helpers.swift: setKeyboardCapsLock(enabled:) IOHIDSetModifierLockState 성공: <IOHIDDevice 0x12fc246a0 [0x1eae1e820]  'ClassName=IOHIDUserDevice' VendorID=1452 ProductID=34304 Product=TouchBarUserDevice PrimaryUsagePage=1 PrimaryUsage=6 ReportInterval=8000>
2023-05-09 00:14:42.122 E  SokIM[61520:19667c] SokIM/Helpers.swift: setKeyboardCapsLock(enabled:) IOHIDDeviceCopyMatchingElements 실패: <IOHIDDevice 0x12fc246a0 [0x1eae1e820]  'ClassName=IOHIDUserDevice' VendorID=1452 ProductID=34304 Product=TouchBarUserDevice PrimaryUsagePage=1 PrimaryUsage=6 ReportInterval=8000>
2023-05-09 00:14:42.123 Db SokIM[61520:23e41f] [com.apple.CFBundle:plugin] RemoveInstanceForFactory: Removed instance on 0x12a0493a0 for <CFUUID 0x12a049090> 13AA9C44-6F1B-11D4-907C-0005028F18D5
2023-05-09 00:14:42.123 Db SokIM[61520:23e41f] [com.apple.CFBundle:plugin] RemoveInstanceForFactory: Removed instance on 0x12a0493a0 for <CFUUID 0x12a049090> 13AA9C44-6F1B-11D4-907C-0005028F18D5
2023-05-09 00:14:42.123 Db SokIM[61520:23e41f] [com.apple.CFBundle:plugin] RemoveInstanceForFactory: Removed instance on 0x12a0493a0 for <CFUUID 0x12a049090> 13AA9C44-6F1B-11D4-907C-0005028F18D5

haydnhkim avatar May 08 '23 14:05 haydnhkim