Git Product home page Git Product logo

Comments (2)

DreymaR avatar DreymaR commented on May 27, 2024

Yeah, I guess! Note that there are some options already present in xkb-data:

   lv5                  Key to choose 5th level
  lv5:lsgt_switch_lock Less/Greater chooses 5th level; acts as onetime lock when pressed together with another 5th level chooser
  lv5:ralt_switch_lock Right Alt chooses 5th level; acts as onetime lock when pressed together with another 5th level chooser
  lv5:lwin_switch_lock Left Win chooses 5th level; acts as onetime lock when pressed together with another 5th level chooser
  lv5:rwin_switch_lock Right Win chooses 5th level; acts as onetime lock when pressed together with another 5th level chooser
  lv5:caps_switch_lock Caps Lock chooses 5th level, locks when pressed together with another 5th-level-chooser
  lv5:lctl_switch_lock Left Ctrl chooses 5th level, locks when pressed together with another 5th-level-chooser

You could find any of those entries in the symbols\level5 file like for instance RALT, and hack it to the LALT key if you want to!

// The left (formerly right) Alt key (while pressed) chooses the fifth shift level.
partial modifier_keys
xkb_symbols "ralt_switch" {
  key <LALT> {
    type[Group1]="ONE_LEVEL",
    symbols[Group1] = [ ISO_Level5_Shift ]
  };
  include "level5(modifier_mapping)"
};

Then by choosing the lv5:ralt_switch setxkbmap option, you'd actually get the LALT switch. Dirty but effective.

The rules/evdev.lst file in my repo
The symbols/level5 file in my repo

from bigbagkbdtrixxkb.

DreymaR avatar DreymaR commented on May 27, 2024

I think it's beneficial to have this issue open so people can see the solution more easily. I'll also try to remember to add it to my files eventually.

from bigbagkbdtrixxkb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.