Skip to content

Commit

Permalink
Merge pull request #1 from krzyzan/revb
Browse files Browse the repository at this point in the history
Add support for Apple revision B keyboards
  • Loading branch information
dciabrin committed May 5, 2014
2 parents 46ffed4 + 727a540 commit 987ba53
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion 95-keymap-apple-kdb.rules.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ KERNEL!="event[0-9]*", GOTO="apple_kbd_end"
ENV{ID_VENDOR_ID}!="05ac", GOTO="apple_kbd_end"
ENV{ID_INPUT_KEYBOARD}!=1, GOTO="apple_kbd_end"

ENV{ID_MODEL_ID}!="022[0-2]", GOTO="apple_kbd_end"
ENV{ID_MODEL_ID}!="022[0-2]|024f|025[0-1]", GOTO="apple_kbd_end"
ENV{ID_MODEL_ID}=="0220", ENV{XKBMODEL}="applealu_ansi"
ENV{ID_MODEL_ID}=="0221", ENV{XKBMODEL}="applealu_iso"
ENV{ID_MODEL_ID}=="0222", ENV{XKBMODEL}="applealu_jis"
ENV{ID_MODEL_ID}=="024F", ENV{XKBMODEL}="applealu_ansi"
ENV{ID_MODEL_ID}=="0250", ENV{XKBMODEL}="applealu_iso"
ENV{ID_MODEL_ID}=="0251", ENV{XKBMODEL}="applealu_jis"

ACTION=="add|change", IMPORT{program}="/bin/grep ^apple_kbd_ @CONFIGDIR@/apple-kbd"

Expand Down

0 comments on commit 987ba53

Please sign in to comment.