From 6a950526d525ac0463edd82ca206e09f927c534c Mon Sep 17 00:00:00 2001 From: radius Date: Fri, 28 Oct 2016 20:49:44 -0500 Subject: [PATCH] add group for other android atv devices --- input/drivers/android_input.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/input/drivers/android_input.c b/input/drivers/android_input.c index 6f504a8434..b3a7a90229 100644 --- a/input/drivers/android_input.c +++ b/input/drivers/android_input.c @@ -758,6 +758,14 @@ static void handle_hotplug(android_input_data_t *android_data, } } + /* Other ATV Devices + * Add other common ATV devices that will follow the Android + * Gaempad convention as "Android Gamepad" + */ + /* to-do: add DS4 on Bravia ATV */ + else if (strstr(device_name, "NVIDIA")) + strlcpy (name_buf, "Android Gamepad", sizeof(name_buf)); + /* GPD XD * This is a simple hack, basically groups the "back" * button with the rest of the gamepad