トップ 最新

かってきままな日々

2022-05-03 (Tu) [長年日記]

_ kmonad 設定修正

kmonad の設定が間違ってた。

dipsw2=ON の場合、Delete キーは、通常時 backspace、Fn 時 numlock を送出しているみたい。

あと、もう dipsw2=ON のみで運用することにしたので、 layer による切り替えは廃止。

;;  -*- lisp -*-

(defcfg
  ;; For Linux
  input  (device-file "/dev/input/by-id/usb-PFU_Limited_HHKB-Hybrid-event-kbd")
  output (uinput-sink "My KMonad output"
    ;; To understand the importance of the following line, see the section on
    ;; Compose-key sequences at the near-bottom of this file.
    "/run/current-system/sw/bin/sleep 1 && /run/current-system/sw/bin/setxkbmap -option compose:ralt")

  ;; Comment this is you want unhandled events not to be emitted
  fallthrough true

  ;; Set this to false to disable any command-execution in KMonad
  allow-cmd true
)

(defsrc
  esc  1    2    3    4    5    6    7    8    9    0    -    =    \    grv
  tab  q    w    e    r    t    y    u    i    o    p    [    ]    bspc nlck
  lctl a    s    d    f    g    h    j    k    l    ;    '    ret
  lsft z    x    c    v    b    n    m    ,    .    /    rsft
       lalt lmet           spc            rmet ralt
)

(deflayer qwerty-mac
  esc  1    2    3    4    5    6    7    8    9    0    -    =    \    grv
  tab  q    w    e    r    t    y    u    i    o    p    [    ]    bspc del
  lctl a    s    d    f    g    h    j    k    l    ;    '    ret
  lsft z    x    c    v    b    n    m    ,    .    /    rsft
       lmet lalt           spc            henkan ralt
)

numlock は要らない。でもだからといって何に割り当てようか、と考え、 結局 del にした。Fn+grv でも del になるので、del が2箇所になるけど、 まぁいいか。

これで Ctrl+Alt+Fn+BS で C-A-del が発動するようになった。

メモ: libinput debug-events には --show-keycodes を指定するのが良い。

sudo libinput debug-events --show-keycodes

_ 原神

送仙儀式の準備が進められたので進められるところまで進めた。

あとは… なんちゃら螺旋が思ったより進んだ。いろいろ強化したからかな。 ただ、宝盗団に勝てなかった。まぁあれに勝っても次の火斧+遺跡守衛には勝てないと思う。 それに勝てたら香菱ゲットか。んーまだしばらく先だな。

そういや、このゲーム、武器はあるけどシールドはないのかなぁ... 見たことない気がする...