From patchwork Tue Feb 4 22:12:32 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: 3581811 X-Patchwork-Delegate: jikos@jikos.cz Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 525D29F2E9 for ; Tue, 4 Feb 2014 22:12:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9AC0B201B4 for ; Tue, 4 Feb 2014 22:12:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 823412018E for ; Tue, 4 Feb 2014 22:12:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934929AbaBDWMh (ORCPT ); Tue, 4 Feb 2014 17:12:37 -0500 Received: from prifuk.spider.cz ([31.31.77.241]:39343 "EHLO prifuk.cz" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S934041AbaBDWMf convert rfc822-to-8bit (ORCPT ); Tue, 4 Feb 2014 17:12:35 -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 D1D4B2042C; Tue, 4 Feb 2014 23:12:29 +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 3/5] Add support for periodic effects in hid-lg4ff Date: Tue, 04 Feb 2014 23:12:32 +0100 Message-ID: <2603901.tycGoWUc45@geidi-prime> User-Agent: KMail/4.12.1 (Linux/3.13.1-1-ARCHMOD; KDE/4.12.1; x86_64; ; ) In-Reply-To: <3580124.nFkHgCoyEf@geidi-prime> References: <1602354.DiHhm9tiaI@geidi-prime> <4656889.s9yIX65sPh@geidi-prime> <3580124.nFkHgCoyEf@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 periodic effects in hid-lg4ff Signed-off-by: Michal MalĂ˝ --- drivers/hid/hid-lg4ff.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/hid/hid-lg4ff.c b/drivers/hid/hid-lg4ff.c index f236b9f..c82b02c 100644 --- a/drivers/hid/hid-lg4ff.c +++ b/drivers/hid/hid-lg4ff.c @@ -71,6 +71,12 @@ struct lg4ff_device_entry { static const signed short lg4ff_wheel_effects[] = { FF_CONSTANT, + FF_PERIODIC, + FF_SQUARE, + FF_TRIANGLE, + FF_SINE, + FF_SAW_UP, + FF_SAW_DOWN, FF_AUTOCENTER, -1 };