Skip to content
Snippets Groups Projects

samsung-{a3,a5,a7,klte,serranove}: Move 20-tm2-touchkey-input.rules to postmarketos-base

Merged Imported Administrator requested to merge tm-touchkey into master
Edited by Administrator

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Administrator added 1 commit · Imported

    added 1 commit

    • a69eb51b - samsung-{a3,a5,a7,klte,serranove}: Move 20-tm2-touchkey-input.rules to postmarketos-base

    Compare with previous version

    By Raymond Hackley on 2022-02-12T07:27:50

  • Administrator added 1 commit · Imported

    added 1 commit

    • 56c77c7a - samsung-{a3,a5,a7,klte,serranove}: Move 20-tm2-touchkey-input.rules to postmarketos-base

    Compare with previous version

    By Raymond Hackley on 2022-02-12T07:29:00

  • Administrator resolved all threads · Imported

    resolved all threads

    By Raymond Hackley on 2022-02-12T07:29:59

  • Administrator resolved all threads · Imported

    resolved all threads

    By Newbyte on 2022-02-12T08:53:25

  • Administrator resolved all threads · Imported

    resolved all threads

    By Jakko on 2022-02-12T11:18:48

  • Administrator resolved all threads · Imported

    resolved all threads

    By Newbyte on 2022-02-12T11:23:06

    • Author Owner
      Resolved by Administrator

      This udev rule now applies to all devices that use the tm2-touchkey driver. There might be devices we're not aware of. We don't know how their right key is mapped and if that makes sense in combination with their left key being mapped to "menu".

      Therefore the right key should be mapped as well. This provides the same set of key mapping to all devices using tm2-touchkey in postmarketOS [edit: when using a kernel ≥ 5.16].

      # map tm2-touchkey to KEY_MENU and KEY_BACK
      SUBSYSTEM=="input", KERNEL=="event*", DRIVERS=="tm2-touchkey", ENV{KEYBOARD_KEY_00}="menu", ENV{KEYBOARD_KEY_01}="back", RUN{builtin}+="keyboard"

      Maybe split to two lines:

      # map tm2-touchkey to KEY_MENU and KEY_BACK
      SUBSYSTEM=="input", KERNEL=="event*", DRIVERS=="tm2-touchkey", \
      ENV{KEYBOARD_KEY_00}="menu", ENV{KEYBOARD_KEY_01}="back", RUN{builtin}+="keyboard"

      By Jakko on 2022-02-13T03:11:24

      Edited by Administrator
  • Administrator added 1 commit · Imported

    added 1 commit

    • 32456e6f - samsung-{a3,a5,a7,klte,serranove}: Move 20-tm2-touchkey-input.rules to postmarketos-base

    Compare with previous version

    By Raymond Hackley on 2022-02-13T03:10:40

  • Administrator approved this merge request · Imported

    approved this merge request

    By clayton craft on 2022-02-13T04:25:38

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading