Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • drivers
  • input
  • misc
  • rotary_encoder.c
Find file BlameHistoryPermalink
  • H Hartley Sweeten's avatar
    Input: rotary_encoder - add support for REL_* axes · bd3ce655
    H Hartley Sweeten authored Apr 17, 2009
    
    
    The rotary encoder driver only supports returning input events
    for ABS_* axes, this adds support for REL_* axes.  The relative
    axis input event is reported as -1 for each counter-clockwise
    step and +1 for each clockwise step.
    
    The ability to clamp the position of ABS_* axes between 0 and
    a maximum of "steps" has also been added.
    
    Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
    Signed-off-by: default avatarDaniel Mack <daniel@caiaq.de>
    Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
    bd3ce655
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7