synergy注册热键使用文本配置

时间:2016-06-10 11:57:28

标签: python c++

我想注册热键 所以,我添加了关键类型

  
      
  1. key_types.h
  2.   
 static const KeyID     kKeyHangul = 0xEF31;    /* Zenkaku/Hankaku */ //asmera modify to 0xef31 from 0xef26
  
      
  1. key_types.cpp
  2.   
keyNameMap[][]
{ "Hangul",         kKeyHangul }
  
      
  1. MSWindowsKeyState.cpp
  2.   
    /* 0x015 */ { kKeyHangul },
    /* 0x115 */ { kKeyHangul },
  

和配置脚本是

section: screens
    server:
    client1:
end

section: aliases
    server:
        YOO-Lab
    client1:
        YOO-SURFACE
end

section: links
#   server:
#       down = client1
#   client:
#       up = server
end

section: options
    screenSaverSync = false
    keystroke(control+1) = switchToScreen(server)
    keystroke(control+2) = switchToScreen(client1)
#?? keystroke(ctrl+alt+space) = Hangul
end 

我想知道如何将(Ctrl + Alt + Space)转换为(Hangul)键

1 个答案:

答案 0 :(得分:0)

这对我有用 - Control + Alt + Space

查看此参考以获取更多密钥:https://github.com/symless/synergy/blob/master/src/lib/synergy/key_types.cpp