From patchwork Sun Feb 23 23:34:34 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: 3705331 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 EC55ABF13A for ; Sun, 23 Feb 2014 23:34:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 310FD201E4 for ; Sun, 23 Feb 2014 23:34:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E6C59201DD for ; Sun, 23 Feb 2014 23:34:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751936AbaBWXeh (ORCPT ); Sun, 23 Feb 2014 18:34:37 -0500 Received: from prifuk.spider.cz ([31.31.77.241]:41503 "EHLO prifuk.cz" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751868AbaBWXeh convert rfc822-to-8bit (ORCPT ); Sun, 23 Feb 2014 18:34:37 -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 8022A20FCE; Mon, 24 Feb 2014 00:34:28 +0100 (CET) From: Michal =?ISO-8859-1?Q?Mal=FD?= To: linux-input@vger.kernel.org Cc: linux-kernel@vger.kernel.org, dmitry.torokhov@gmail.com, anssi.hannula@gmail.com, elias.vds@gmail.com, jkosina@suse.cz, simon@mungewell.org Subject: [PATCH v2 3/4] hid-lg4ff: Add support for periodic effects Date: Mon, 24 Feb 2014 00:34:34 +0100 Message-ID: <6737869.96ujbJ2eBZ@geidi-prime> User-Agent: KMail/4.12.2 (Linux/3.13.5-1-ARCHMOD; KDE/4.12.2; x86_64; ; ) In-Reply-To: <1516865.M993BQAYe4@geidi-prime> References: <1516865.M993BQAYe4@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.4 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 hid-lg4ff: Add support for periodic effects Tested-by: Elias Vanderstuyft 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 95d2a9f..d7d8d83 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 };