-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mapping keyboard shortcuts (ex copy / paste) to home row keys #9
Comments
Hi Querlak, {
"key_code": 39,
"mapped_sequences": {
"down": [
{
"key": "x",
"modifiers": "Control"
}
]
}
},
{
"key_code": 40,
"mapped_sequences": {
"down": [
{
"key": "c",
"modifiers": "Control"
}
]
}
},
{
"key_code": 41,
"mapped_sequences": {
"down": [
{
"key": "v",
"modifiers": "Control"
}
]
}
}, Cheers |
Hi svenlr, I have two questions related to this issue:
{
"key_code": 58,
"mapped_sequences": {
"down": [
{
"mapped_key_label": "LEFT",
"modifiers": "Control"
}
]
}
},
{
"key_code": 60,
"mapped_sequences": {
"down": [
{
"mapped_key_label": "RGHT",
"modifiers": "Control"
}
]
}
},
I've been trying to create Home-Row-Computing-Extended in Linux, this and this has turned to be the best solution, so thanks for creating it! |
As it often happens, I figured out 1. right after posting the issue: {
"key_code": 58,
"mapped_sequences": {
"down": [
{
"key": "Left",
"modifiers": "Control"
}
]
}
}, EDIT: I figured out both of them. Sorry for the spam. |
Hey svenlr!
Just started playing around in Linux today, and found your python script, and I was trying to figure out how to get keyboard shortcuts to work (like Ctrl + X for cut, Ctrl + C for copy, etc) when I held CapsLock down and pressed keys on my home row. My ideal setup would be "Caps + s" for cut, "Caps + d" for copy, and "Caps + f" for paste. I figured out how to get the keycodes for s, d, and f, (39, 40, and 41 respectively), but I'm not sure how to code the "mapped_sequence" to get the combination of ctrl and the respective key pressed simultaneously to cut/copy/paste content.
Cheers.
The text was updated successfully, but these errors were encountered: