diff options
author | Agney Lopes Roth Ferraz <agney@debian.org> | 2006-06-21 22:18:24 -0300 |
---|---|---|
committer | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:36 -0500 |
commit | 078e9c700feccfcf1318b7bde49d6e464bc2ac8c (patch) | |
tree | 4d24c99643f10e4b8b75bebaaec5d48294b3b112 /arch/linux/common/inputdevices.h | |
parent | 18820242e374421ebd6d504a20d11f310b2ac023 (diff) | |
parent | 720f5023a8f68aaaa54cb6b7bf46efee23b5b4c3 (diff) |
Import Debian changes 0.4.1-1
hardinfo (0.4.1-1) unstable; urgency=low
* New upstream release.
Diffstat (limited to 'arch/linux/common/inputdevices.h')
-rw-r--r-- | arch/linux/common/inputdevices.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/linux/common/inputdevices.h b/arch/linux/common/inputdevices.h index c32015a2..44a109ca 100644 --- a/arch/linux/common/inputdevices.h +++ b/arch/linux/common/inputdevices.h @@ -37,6 +37,7 @@ static struct { { "Keyboard", "keyboard.png" }, { "Joystick", "joystick.png" }, { "Mouse", "mouse.png" }, + { "Speaker", "audio.png" }, { "Unknown", "module.png" }, }; @@ -84,9 +85,13 @@ scan_inputdevices(void) else if (strstr(tmp, "mouse")) d = 2; //INPUT_MOUSE; else - d = 3; //INPUT_UNKNOWN; + d = 4; //INPUT_UNKNOWN; break; case '\n': + if (strstr(name, "PC Speaker")) { + d = 3; // INPUT_PCSPKR + } + tmp = g_strdup_printf("INP%d", ++n); input_list = g_strdup_printf("%s$%s$%s=\n", input_list, |