Giter Site home page Giter Site logo

Comments (4)

lproven avatar lproven commented on June 12, 2024

Additional request:

Please list in your docs the names miracle-wm uses/understands for all modifier keys. I have tried setting the modifier to super but it does not register.

from miracle-wm.

mattkae avatar mattkae commented on June 12, 2024

Hiya @lproven
That's some good feedback. I am learning towards Super key over Windows key since its OS-agnostic. WDYT?

The types that miracle-wm understands is in the userguide at the "Types" header with the ModifierKey type. I should really publish much nicer docs in this area. If you have any examples of other projects that do this better, I'd love to see it! I am using C++ pseudo-code to describe my yaml file format, which isn't great.

from miracle-wm.

lproven avatar lproven commented on June 12, 2024

Hiya @lproven That's some good feedback.

Happy to help. :-) I am working on a 2nd article about Miracle for the Register.

I am learning towards Super key over Windows key since its OS-agnostic. WDYT?

Agreed.

The types that miracle-wm understands is in the userguide at the "Types" header with the ModifierKey type.

This part?

  "alt" | "alt_left" | "alt_right" | "shift" | "shift_left" | "shift_right" | "sym" | "function" | "ctrl"
  | "ctrl_left" | "ctrl_right" | "meta" | "meta_left" | "meta_right" | "caps_lock" | "num_lock" | "scroll_lock"
  | "primary";

The thing is that I don't see Super or Windows in that list at all...

I should really publish much nicer docs in this area.

Um, yes...

If you have any examples of other projects that do this better, I'd love to see it! I am using C++ pseudo-code to describe my yaml file format, which isn't great.

I went looking but this is a bit outside my comfort zone TBH.

xmodmap may help?

$ xmodmap -pm
xmodmap:  up to 4 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32),  Shift_R (0x3e)
lock        Caps_Lock (0x42)
control     Control_L (0x25),  Control_R (0x69)
mod1        Alt_L (0x40),  Alt_L (0xcc),  Meta_L (0xcd)
mod2        Num_Lock (0x4d)
mod3        ISO_Level5_Shift (0xcb)
mod4        Super_L (0x85),  Super_R (0x86),  Super_L (0xce),  Hyper_L (0xcf)
mod5        ISO_Level3_Shift (0x5c)

from miracle-wm.

mattkae avatar mattkae commented on June 12, 2024

As for a better presentation, I moved all of the documentation here this week: https://mattkae.github.io/miracle-wm-wiki/

It's a bit more presentable now 😄 I'll tackle the other issues tagged here when I get a moment this weekend.

from miracle-wm.

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.