21 Mar, 2014

1 commit


19 Dec, 2013

1 commit


16 Dec, 2013

2 commits


16 Oct, 2013

1 commit

  • It wasn't really clear from the gamepad-API description how ABS values are
    mapped exactly. Clarify that negative is left/up and positive is
    right/down. Unfortunately, this means I screwed up the Wii U ProController
    ABI. Anyhow, this just means we continue to have 0 compatible gamepad
    drivers in the kernel. User-space needs to fix them up, anyway, as all
    other gamepads are also incompatible.

    Signed-off-by: David Herrmann
    Signed-off-by: Dmitry Torokhov

    David Herrmann
     

04 Sep, 2013

1 commit


20 Aug, 2013

1 commit

  • Until today all gamepad input drivers report their data differently. It is
    nearly impossible to write applications for more than one device in a
    generic way. Therefore, this patch introduces a uniform gamepad API which
    will be used for all new drivers.

    Instead of mapping buttons by their labels, we now map them by position.
    This allows applications to work with any gamepad regardless of the labels
    on the buttons. Furthermore, we standardize the ABS_* codes for analog
    triggers and sticks.

    For D-Pads the long overdue BTN_DPAD_* codes are introduced. They should
    be fairly obvious how to use. To avoid confusion, the action buttons now
    have BTN_EAST/SOUTH/WEST/NORTH aliases.

    Reported-by: Todd Showalter
    Signed-off-by: David Herrmann
    Acked-by: Dmitry Torokhov
    Signed-off-by: Jiri Kosina

    David Herrmann
     

14 Jun, 2013

1 commit

  • This is effectively already in force through input_mt_init_slots, and uinput
    too ignores the actual minimum.

    Since slots are a kernel-genenerated axis only, non-zero minimums make
    little sense and are likely to cause errors. Better to treat a non-zero
    minimum as kernel bug if it ever happens.

    Signed-off-by: Peter Hutterer
    Acked-by: Benjamin Tissoires
    Signed-off-by: Henrik Rydberg

    Peter Hutterer
     

11 Mar, 2013

1 commit

  • Pull input updates from Dmitry Torokhov:
    "Except for the largish change to the ALPS driver adding "Dolphin V1"
    support and Wacom getting a new signature of yet another device, the
    rest are straightforward driver fixes."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: mms114 - Fix regulator enable and disable paths
    Input: ads7864 - check return value of regulator enable
    Input: tc3589x-keypad - fix keymap size
    Input: wacom - add support for 0x10d
    Input: ALPS - update documentation for recent touchpad driver mods
    Input: ALPS - add "Dolphin V1" touchpad support
    Input: ALPS - remove unused argument to alps_enter_command_mode()
    Input: cypress_ps2 - fix trackpadi found in Dell XPS12

    Linus Torvalds
     

24 Feb, 2013

1 commit

  • Updated documentation for the new ALPS touchpad support submitted in two
    patchsets by Kevin Cernekee. My understanding is the most recent
    patchset '"Dolphin V2" touchpad support' may still need some work but
    Future work on the ALPS driver should not impact these documentation changes.

    See https://bugs.launchpad.net/ubuntu/+source/linux/+bug/606238

    Signed-off-by: David Turvene
    Acked-by: Kevin Cernekee
    Signed-off-by: Dmitry Torokhov

    dave turvene
     

14 Dec, 2012

1 commit

  • Pull HID subsystem updates from Jiri Kosina:

    1) Support for HID over I2C bus has been added by Benjamin Tissoires.
    ACPI device discovery is still in the works.

    2) Support for Win8 Multitiouch protocol is being added, most work done
    by Benjamin Tissoires as well

    3) EIO/ERESTARTSYS is fixed in hiddev/hidraw, fixes by Andrew Duggan
    and Jiri Kosina

    4) ION iCade driver added by Bastien Nocera

    5) Support for a couple new Roccat devices has been added by Stefan
    Achatz

    6) HID sensor hubs are now auto-detected instead of having to list all
    the VID/PID combinations in the blacklist array

    7) other random fixes and support for new device IDs

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (65 commits)
    HID: i2c-hid: add mutex protecting open/close race
    Revert "HID: sensors: add to special driver list"
    HID: sensors: autodetect USB HID sensor hubs
    HID: hidp: fallback to input session properly if hid is blacklisted
    HID: i2c-hid: fix ret_count check
    HID: i2c-hid: fix i2c_hid_get_raw_report count mismatches
    HID: i2c-hid: remove extra .irq field in struct i2c_hid
    HID: i2c-hid: reorder allocation/free of buffers
    HID: i2c-hid: fix memory corruption due to missing hid declaration
    HID: i2c-hid: remove superfluous include
    HID: i2c-hid: remove unneeded test in i2c_hid_remove
    HID: i2c-hid: i2c_hid_get_report may fail
    HID: i2c-hid: also call i2c_hid_free_buffers in i2c_hid_remove
    HID: i2c-hid: fix error messages
    HID: i2c-hid: fix return paths
    HID: i2c-hid: remove unused static declarations
    HID: i2c-hid: fix i2c_hid_dbg macro
    HID: i2c-hid: fix checkpatch.pl warning
    HID: i2c-hid: enhance Kconfig
    HID: i2c-hid: change I2C name
    ...

    Linus Torvalds
     

19 Nov, 2012

1 commit


15 Nov, 2012

1 commit

  • Some devices provides the actual timestamp (hid_dg_scan_time in win8 ones)
    computed by the hardware itself. This value is global to the frame and is
    not specific to the multitouch protocol.

    Signed-off-by: Benjamin Tissoires
    Reviewed-by: Henrik Rydberg
    Acked-by: Dmitry Torokhov
    Signed-off-by: Jiri Kosina

    Benjamin Tissoires
     

25 Jul, 2012

1 commit


05 Jul, 2012

1 commit

  • The newly released HID protocol for win8 multitouch devices is capable
    of transmitting more information about each touch. In particular, it
    includes details useful for touch alignment. This patch completes the
    MT protocol with the ABS_MT_TOOL_X/Y events, and documents how to map
    win8 devices.

    Cc: Stephane Chatty
    Cc: Benjamin Tissoires
    Cc: Peter Hutterer
    Acked-by: Chase Douglas
    Signed-off-by: Henrik Rydberg

    Henrik Rydberg
     

31 Mar, 2012

1 commit


21 Mar, 2012

1 commit

  • Pull trivial tree from Jiri Kosina:
    "It's indeed trivial -- mostly documentation updates and a bunch of
    typo fixes from Masanari.

    There are also several linux/version.h include removals from Jesper."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (101 commits)
    kcore: fix spelling in read_kcore() comment
    constify struct pci_dev * in obvious cases
    Revert "char: Fix typo in viotape.c"
    init: fix wording error in mm_init comment
    usb: gadget: Kconfig: fix typo for 'different'
    Revert "power, max8998: Include linux/module.h just once in drivers/power/max8998_charger.c"
    writeback: fix fn name in writeback_inodes_sb_nr_if_idle() comment header
    writeback: fix typo in the writeback_control comment
    Documentation: Fix multiple typo in Documentation
    tpm_tis: fix tis_lock with respect to RCU
    Revert "media: Fix typo in mixer_drv.c and hdmi_drv.c"
    Doc: Update numastat.txt
    qla4xxx: Add missing spaces to error messages
    compiler.h: Fix typo
    security: struct security_operations kerneldoc fix
    Documentation: broken URL in libata.tmpl
    Documentation: broken URL in filesystems.tmpl
    mtd: simplify return logic in do_map_probe()
    mm: fix comment typo of truncate_inode_pages_range
    power: bq27x00: Fix typos in comment
    ...

    Linus Torvalds
     

07 Mar, 2012

1 commit


24 Feb, 2012

1 commit


02 Feb, 2012

1 commit


23 Dec, 2011

1 commit

  • - Add documentation for the Cx/Dx hardware release;
    - Fix wrong register offset for retrieving button information;
    - Document programming sequence for page register R/W;
    - Document a couple of supported gesture IDs.

    Signed-off-by: Tai-hwa Liang
    Signed-off-by: Dmitry Torokhov

    Tai-hwa Liang
     

01 Dec, 2011

1 commit

  • There exist tilt switches that simply report their tilt-state via
    some gpios. The number and orientation of their axes can vary
    depending on the switch used and the build of the device. Also two
    or more one-axis switches could be combined to provide multi-dimensional
    orientation.

    One example of a device using such a switch is the family of Qisda
    ebook readers, where the switch provides information about the
    landscape / portrait orientation of the device. The example in
    Documentation/input/gpio-tilt.txt documents exactly this one-axis
    device.

    Signed-off-by: Heiko Stuebner
    Signed-off-by: Dmitry Torokhov

    Heiko Stübner
     

29 Nov, 2011

1 commit


08 Nov, 2011

2 commits


27 Oct, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (68 commits)
    Input: adp5589-keys - add support for the ADP5585 derivatives
    Input: imx_keypad - add pm suspend and resume support
    Input: force feedback - potential integer wrap in input_ff_create()
    Input: tsc2007 - make sure that X plate resistance is specified
    Input: serio_raw - fix memory leak when closing char device
    Input: serio_raw - kick clients when disconnecting port
    Input: serio_raw - explicitly mark disconnected ports as dead
    Input: serio_raw - fix coding style issues
    Input: serio_raw - use dev_*() for messages
    Input: serio_raw - use bool for boolean data
    Input: serio_raw - perform proper locking when adding clients to list
    Input: serio_raw - rename serio_raw_list to serio_raw_client
    Input: serio_raw - use kref instead of rolling out its own refcounting
    Input: psmouse - switch to using dev_*() for messages
    Input: wacom - correct max Y value on medium bamboos
    Input: wacom - add ABS_DISTANCE to Bamboo Pen reports
    Input: wacom - remove unneeded touch pressure initialization
    Input: lm8323 - wrap suspend and resume in CONFIG_PM_SLEEP
    Input: ad7879-i2c - wrap suspend and resume in CONFIG_PM_SLEEP
    Input: synaptics_i2c - wrap suspend and resume in CONFIG_PM_SLEEP
    ...

    Linus Torvalds
     

28 Sep, 2011

1 commit

  • There are numerous broken references to Documentation files (in other
    Documentation files, in comments, etc.). These broken references are
    caused by typo's in the references, and by renames or removals of the
    Documentation files. Some broken references are simply odd.

    Fix these broken references, sometimes by dropping the irrelevant text
    they were part of.

    Signed-off-by: Paul Bolle
    Signed-off-by: Jiri Kosina

    Paul Bolle
     

10 Sep, 2011

3 commits


24 Aug, 2011

1 commit


17 May, 2011

1 commit

  • For some Dell laptops, Ubuntu had a special version of the elantech
    driver with more knowledge on the devices. It can be found there:
    http://zinc.ubuntu.com/git?p=mid-team/hardy-netbook.git;a=blob;f=drivers/input/mouse/elantech.c;h=d0e2cafed162428f72e3654f4dda85e08ea486b3;hb=refs/heads/abi-22

    By inspecting the source code, and doing some test on a real hardware, I
    have completed the protocol specification (especially for the 6 bytes
    protocol). It also adds information about the mapping between the
    version reported by the device and the protocol to use.

    Signed-off-by: Éric Piel
    Reviewed-by: Henrik Rydberg
    Signed-off-by: Dmitry Torokhov

    Éric Piel
     

12 May, 2011

1 commit


19 Apr, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: xen-kbdfront - fix mouse getting stuck after save/restore
    Input: estimate number of events per packet
    Input: evdev - indicate buffer overrun with SYN_DROPPED
    Input: document event types and codes and their intended use
    Input: add KEY_IMAGES specifically for AL Image Browser
    Input: twl4030_keypad - fix potential NULL dereference in twl4030_kp_probe()
    Input: h3600_ts - fix error handling at connect
    Input: twl4030_keypad - avoid potential NULL-pointer dereference

    Linus Torvalds
     

13 Apr, 2011

2 commits


31 Mar, 2011

1 commit


11 Jan, 2011

1 commit


28 Dec, 2010

1 commit


20 Dec, 2010

1 commit