linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Hübner" <andreas@k4n.de>
To: simon@mungewell.org
Cc: linux-input@vger.kernel.org
Subject: Re: joydev: support for Saitek PS1000 gamepad
Date: Wed, 23 Nov 2011 09:43:43 +0100	[thread overview]
Message-ID: <20111123084340.GA18805@tapura> (raw)
In-Reply-To: <95ab6669b51867deb14cdd81c79dead1.squirrel@host171.canaca.com>

[-- Attachment #1: Type: text/plain, Size: 204 bytes --]

Hi Simon,

thanks for your help!

> If you can post/decode the descriptor that might provide some insight into
> the problem.

I've attached the hid report descriptor in binary and spec format.


Andreas

[-- Attachment #2: saitek_ps1000.spec --]
[-- Type: text/plain, Size: 2215 bytes --]

Usage Page (Desktop),               ; Generic desktop controls (01h)
Usage (Gamepad),                    ; Gamepad (05h, application collection)
Collection (Application),
    Usage (Pointer),                ; Pointer (01h, physical collection)
    Collection (Physical),
        Usage Page (Desktop),       ; Generic desktop controls (01h)
        Usage (X),                  ; X (30h, dynamic value)
        Usage (Y),                  ; Y (31h, dynamic value)
        Usage (Z),                  ; Z (32h, dynamic value)
        Usage (Rz),                 ; Rz (35h, dynamic value)
        Usage (Rx),                 ; Rx (33h, dynamic value)
        Usage (Slider),             ; Slider (36h, dynamic value)
        Logical Minimum (0),
        Logical Minimum (0),
        Logical Minimum (0),
        Logical Minimum (0),
        Logical Maximum (255),
        Logical Minimum (0),
        Logical Minimum (0),
        Logical Minimum (0),
        Logical Minimum (0),
        Logical Minimum (0),
        Logical Minimum (0),
        Logical Minimum (0),
        Logical Minimum (0),
        Logical Minimum (0),
        Logical Minimum (0),
        Logical Minimum (0),
        Logical Minimum (0),
        Logical Maximum (255),
        Physical Minimum (0),
        Physical Maximum (255),
        Unit,
        Report Size (8),
        Report Count (5),
        Input (Variable),
    End Collection,
    Usage (Hat Switch),             ; Hat switch (39h, dynamic value)
    Logical Minimum (1),
    Logical Maximum (8),
    Physical Minimum (0),
    Physical Maximum (315),
    Unit (Degrees),
    Report Size (4),
    Report Count (1),
    Input (Constant, Variable),
    Usage Page (Button),            ; Button (09h)
    Usage Minimum (01h),
    Usage Maximum (0Dh),
    Logical Minimum (0),
    Logical Maximum (1),
    Report Size (1),
    Report Count (13),
    Input (Constant, Variable),
    Report Count (7),
    Input (Constant),
    Usage Page (LED),               ; LEDs (08h)
    Usage (43h),
    Logical Minimum (0),
    Logical Maximum (255),
    Physical Minimum (0),
    Physical Maximum (255),
    Report Size (8),
    Report Count (4),
    Output (Variable, Volatile),
End Collection

[-- Attachment #3: saitek_ps1000.bin --]
[-- Type: application/octet-stream, Size: 137 bytes --]

  reply	other threads:[~2011-11-23  8:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-22 10:28 joydev: support for Saitek PS1000 gamepad Andreas Hübner
2011-11-22 17:13 ` simon
2011-11-23  8:43   ` Andreas Hübner [this message]
2011-11-23 15:45     ` Saitek PS1000 gamepad - HID descriptor wonky simon
2011-11-24  8:12       ` Andreas Hübner
     [not found]         ` <30cc35606560d634477e2a288bdf6db3.squirrel@host171.canaca.com>
     [not found]           ` <20111208123424.GA1298@tapura>
     [not found]             ` <a8799dfc5b69fd158ec54b099d231961.squirrel@host171.canaca.com>
     [not found]               ` <20111210131702.GA5620@tapura>
     [not found]                 ` <d13c53ac7f835eaff26cfc2aae0fac6c.squirrel@mungewell.org>
     [not found]                   ` <20111211214010.GA14046@tapura>
2011-12-12 18:49                     ` simon
2011-12-13 19:09                       ` Andreas Hübner
2012-02-22  0:50                       ` Andreas Hübner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111123084340.GA18805@tapura \
    --to=andreas@k4n.de \
    --cc=linux-input@vger.kernel.org \
    --cc=simon@mungewell.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).