// SPDX-License-Identifier: GPL-2.0-or-later /* * Force feedback support for ACRUX game controllers * * From what I have gathered, these devices are mass produced in China * by several vendors. They often share the same design as the original * Xbox 360 controller. * * 1a34:0802 "ACRUX USB GAMEPAD 8116" * - tested with an EXEQ EQ-PCU-02090 game controller. * * Copyright (c) 2010 Sergei Kolzun <x0r@dv-life.ru>
*/
error = axff_init(hdev); if (error) { /* * Do not fail device initialization completely as device * may still be partially operable, just warn.
*/
hid_warn(hdev, "Failed to enable force feedback support, error: %d\n",
error);
}
/* * We need to start polling device right away, otherwise * it will go into a coma.
*/
error = hid_hw_open(hdev); if (error) {
dev_err(&hdev->dev, "hw open failed\n");
hid_hw_stop(hdev); return error;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.