Code52 / carnac

A utility to give some insight into how you use your keyboard
http://carnackeys.com/
Microsoft Public License
4.14k stars 505 forks source link

How do I setup a YML #249

Open farbraum opened 4 years ago

farbraum commented 4 years ago

Hi there,

I am trying to set up a yml, but it dosent Work. How do I find the right value for group and process?

Cheers

Florian

bfritscher commented 4 years ago

You can look at the examples https://github.com/Code52/carnac/blob/master/src/Carnac.Logic/Keymaps/chrome.yml

I dont think group is used. Process is the windows process name most of the time the name of the executable without .exe This will use the keymap only for this process. you can also leave it empty to apply to everything. https://github.com/Code52/carnac/blob/master/src/Carnac.Logic/Keymaps/konami.yml

xkonglong commented 4 years ago

您可以查看示例https://github.com/Code52/carnac/blob/master/src/Carnac.Logic/Keymaps/chrome.yml

我不认为使用小组。进程通常是Windows进程名称,而不是.exe的可执行文件的名称。这将仅对此进程使用键盘映射。您也可以将其保留为空白以应用于所有内容。https://github.com/Code52/carnac/blob/master/src/Carnac.Logic/Keymaps/konami.yml

How can I set more names?

chrome|msedge

or

chrome msedge

or

chrome, msedge