Input: add HID simulation mappings
Add simulation usage page mappings to hid-input.c to support a new crop of joysticks using them to designate Rudder and Throttle controls. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:

committed by
Dmitry Torokhov

parent
b8c9c642db
commit
0aebfdac04
@@ -85,6 +85,23 @@ static const struct hid_usage_entry hid_usage_table[] = {
|
||||
{0, 0x91, "D-PadDown"},
|
||||
{0, 0x92, "D-PadRight"},
|
||||
{0, 0x93, "D-PadLeft"},
|
||||
{ 2, 0, "Simulation" },
|
||||
{0, 0xb0, "Aileron"},
|
||||
{0, 0xb1, "AileronTrim"},
|
||||
{0, 0xb2, "Anti-Torque"},
|
||||
{0, 0xb3, "Autopilot"},
|
||||
{0, 0xb4, "Chaff"},
|
||||
{0, 0xb5, "Collective"},
|
||||
{0, 0xb6, "DiveBrake"},
|
||||
{0, 0xb7, "ElectronicCountermeasures"},
|
||||
{0, 0xb8, "Elevator"},
|
||||
{0, 0xb9, "ElevatorTrim"},
|
||||
{0, 0xba, "Rudder"},
|
||||
{0, 0xbb, "Throttle"},
|
||||
{0, 0xbc, "FlightCommunications"},
|
||||
{0, 0xbd, "FlareRelease"},
|
||||
{0, 0xbe, "LandingGear"},
|
||||
{0, 0xbf, "ToeBrake"},
|
||||
{ 7, 0, "Keyboard" },
|
||||
{ 8, 0, "LED" },
|
||||
{0, 0x01, "NumLock"},
|
||||
|
Reference in New Issue
Block a user