最終更新:2015-10-28 (水) 03:14:08 (1390d)  

Linux/sys/kernel/debug/hid はてなブックマークを見る
Top / Linux / sys / kernel / debug / hid

作成

中身のディレクトリの作成

ディレクトリの中身

  • root@ubuntu:/sys/kernel/debug/hid/0003:0E0F:0003.0001# cat rdesc 
    05 01 09 02 a1 01 09 01 a1 00 05 09 19 01 29 08 15 00 25 01 75 01 95 08 81 02 05 01 09 30 09 31 09 38 15 81 25 7f 75 08 95 03 81 06 c0 c0 
    
      INPUT[INPUT]
        Field(0)
          Physical(GenericDesktop.Pointer)
          Application(GenericDesktop.Mouse)
          Usage(8)
            Button.0001
            Button.0002
            Button.0003
            Button.0004
            Button.0005
            Button.0006
            Button.0007
            Button.0008
          Logical Minimum(0)
          Logical Maximum(1)
          Report Size(1)
          Report Count(8)
          Report Offset(0)
          Flags( Variable Absolute )
        Field(1)
          Physical(GenericDesktop.Pointer)
          Application(GenericDesktop.Mouse)
          Usage(3)
            GenericDesktop.X
            GenericDesktop.Y
            GenericDesktop.Wheel
          Logical Minimum(-127)
          Logical Maximum(127)
          Report Size(8)
          Report Count(3)
          Report Offset(8)
          Flags( Variable Relative )
    
    Button.0001 ---> Key.LeftBtn
    Button.0002 ---> Key.RightBtn
    Button.0003 ---> Key.MiddleBtn
    Button.0004 ---> Key.SideBtn
    Button.0005 ---> Key.ExtraBtn
    Button.0006 ---> Key.ForwardBtn
    Button.0007 ---> Key.BackBtn
    Button.0008 ---> Key.TaskBtn
    GenericDesktop.X ---> Relative.X
    GenericDesktop.Y ---> Relative.Y
    GenericDesktop.Wheel ---> Relative.Wheel