From patchwork Tue Feb 4 22:13:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Michal_Mal=C3=BD?= X-Patchwork-Id: 3581881 X-Patchwork-Delegate: jikos@jikos.cz Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B27C5C02DC for ; Tue, 4 Feb 2014 22:14:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E566F201B4 for ; Tue, 4 Feb 2014 22:14:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0182E2018E for ; Tue, 4 Feb 2014 22:14:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933679AbaBDWNv (ORCPT ); Tue, 4 Feb 2014 17:13:51 -0500 Received: from www.prifuk.cz ([31.31.77.241]:39350 "EHLO prifuk.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934008AbaBDWNs convert rfc822-to-8bit (ORCPT ); Tue, 4 Feb 2014 17:13:48 -0500 Received: from geidi-prime.localnet (228.123.broadband5.iol.cz [88.100.123.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: madcatxster@prifuk.cz) by prifuk.cz (Postfix) with ESMTPSA id D07B22042C; Tue, 4 Feb 2014 23:13:42 +0100 (CET) From: Michal =?ISO-8859-1?Q?Mal=FD?= To: dmitry.torokhov@gmail.com, jkosina@suse.cz, elias.vds@gmail.com, simon@mungewell.org, linux-input@vger.kernel.org Subject: [PATCH 4/5] Add support for ramp effect in hid-lg4ff Date: Tue, 04 Feb 2014 23:13:45 +0100 Message-ID: <1602355.m08XyDkxUs@geidi-prime> User-Agent: KMail/4.12.1 (Linux/3.13.1-1-ARCHMOD; KDE/4.12.1; x86_64; ; ) In-Reply-To: <2603901.tycGoWUc45@geidi-prime> References: <1602354.DiHhm9tiaI@geidi-prime> <3580124.nFkHgCoyEf@geidi-prime> <2603901.tycGoWUc45@geidi-prime> MIME-Version: 1.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add support for ramp effect in hid-lg4ff Signed-off-by: Michal MalĂ˝ --- drivers/hid/hid-lg4ff.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hid/hid-lg4ff.c b/drivers/hid/hid-lg4ff.c index c82b02c..75245cc 100644 --- a/drivers/hid/hid-lg4ff.c +++ b/drivers/hid/hid-lg4ff.c @@ -71,6 +71,7 @@ struct lg4ff_device_entry { static const signed short lg4ff_wheel_effects[] = { FF_CONSTANT, + FF_RAMP, FF_PERIODIC, FF_SQUARE, FF_TRIANGLE,