Skip to content

Commit

Permalink
Fix layer 2 lock
Browse files Browse the repository at this point in the history
As of recently, pressing left shift and right shift only activates layer 2 when held down or holding down for about 2 seconds and then releasing.
  • Loading branch information
gifti258 authored Oct 17, 2024
1 parent debbb95 commit ce10cc0
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/json/neo2.json.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,15 +230,8 @@ function rules() {
manipulators: [
{
type: 'basic',
from: { key_code: 'left_shift', modifiers: { mandatory: ['right_shift'], optional: ['caps_lock'] } },
to: [{ key_code: 'caps_lock' }],
to_if_alone: [{ key_code: 'left_shift' }]
},
{
type: 'basic',
from: { key_code: 'right_shift', modifiers: { mandatory: ['left_shift'], optional: ['caps_lock'] } },
to: [{ key_code: 'caps_lock' }],
to_if_alone: [{ key_code: 'right_shift' }]
from: { simultaneous: [{ key_code: 'left_shift'}, { key_code: 'right_shift' }], modifiers: { optional: ['caps_lock'] } },
to: [{ key_code: 'caps_lock' }]
}
]
},
Expand Down

0 comments on commit ce10cc0

Please sign in to comment.