Skip to content

Commit

Permalink
Merge branch 'main' into feat/darkreader
Browse files Browse the repository at this point in the history
  • Loading branch information
bap2pecs authored Jul 9, 2024
2 parents bb74207 + 594ce2d commit 11cba16
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 6 deletions.
7 changes: 3 additions & 4 deletions public/json/Tye-Tartarus-v2.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"title": "Tye Tartarus v2.json",
"maintainers": [
"tyeraymond-design"
"quantum-designer"
],
"rules": [
{
Expand Down Expand Up @@ -108,7 +108,7 @@
]
},
{
"description": "Razer 04 to shift command plus",
"description": "Razer 04 to command hyphen",
"manipulators": [
{
"conditions": [
Expand All @@ -132,9 +132,8 @@
},
"to": [
{
"key_code": "equal_sign",
"key_code": "hyphen",
"modifiers": [
"left_shift",
"left_command"
]
}
Expand Down
26 changes: 26 additions & 0 deletions public/json/nightfall_toggle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"title": "Nightfall Dark Mode Toggle",
"rules": [
{
"description": "Change F7 to Ctrl+Cmd+Opt+T (toggle dark mode from Nightfall)",
"manipulators": [
{
"from": {
"key_code": "f7"
},
"to": [
{
"key_code": "t",
"modifiers": [
"left_control",
"left_command",
"left_option"
]
}
],
"type": "basic"
}
]
}
]
}
28 changes: 27 additions & 1 deletion public/json/personal_tekezo.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
],
"rules": [
{
"description": "Personal rules (@tekezo) (rev 51)",
"description": "Personal rules (@tekezo) (rev 52)",
"available_since": "14.12.6",
"manipulators": [
{
Expand Down Expand Up @@ -405,6 +405,32 @@
}
]
},
{
"type": "basic",
"from": {
"simultaneous": [
{
"pointing_button": "button1"
},
{
"pointing_button": "button2"
}
],
"simultaneous_options": {
"key_up_when": "all"
},
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"pointing_button": "button3"
}
]
},
{
"type": "basic",
"from": {
Expand Down
28 changes: 27 additions & 1 deletion src/json/personal_tekezo.json.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function main() {
maintainers: ['tekezo'],
rules: [
{
description: 'Personal rules (@tekezo) (rev 51)',
description: 'Personal rules (@tekezo) (rev 52)',
available_since: '14.12.6',
manipulators: [].concat(
coreConfiguration(),
Expand Down Expand Up @@ -390,6 +390,32 @@ function emacs() {

function mouse() {
const result = [
// simultaneous button1 + button2 => button3
{
type: 'basic',
from: {
simultaneous: [
{
pointing_button: 'button1',
},
{
pointing_button: 'button2',
},
],
simultaneous_options: {
key_up_when: 'all',
},
modifiers: {
optional: ['any'],
},
},
to: [
{
pointing_button: 'button3',
},
],
},

// mouse_motion_to_scroll (button5)
{
type: 'basic',
Expand Down

0 comments on commit 11cba16

Please sign in to comment.