diff options
author | Andrey J. Melnikoff (TEMHOTA) <temnota@kmv.ru> | 2008-01-07 03:17:39 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:04:40 -0500 |
commit | e8018c9e78b0ff4bb0290e46f4045fb4ea589ae8 (patch) | |
tree | 30fccea432c63aa577cc874cd47e0f6e734db1b6 /drivers/media/common/ir-keymaps.c | |
parent | 3f4dfe2acf4ffed48395e69166531d8925eb106a (diff) |
V4L/DVB (6973): Add Beholder TV 401/405/407/409/505/507/609/M6 support
This patch updates cardlist for Beholder TV tuners:
old models (with GPIO ir) 401, 403, 405, 407, 409, 505, 507
and add support for 607, 609, M6 cards with new i2c-ir.
Signed-off-by: Igor Kuznetsov <igk72@yandex.ru>
Signed-off-by: Andrey J. Melnikov <temnota@kmv.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/common/ir-keymaps.c')
-rw-r--r-- | drivers/media/common/ir-keymaps.c | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/drivers/media/common/ir-keymaps.c b/drivers/media/common/ir-keymaps.c index 42762dfb738..ee2c69e3152 100644 --- a/drivers/media/common/ir-keymaps.c +++ b/drivers/media/common/ir-keymaps.c | |||
@@ -1848,3 +1848,107 @@ IR_KEYTAB_TYPE ir_codes_fusionhdtv_mce[IR_KEYTAB_SIZE] = { | |||
1848 | }; | 1848 | }; |
1849 | 1849 | ||
1850 | EXPORT_SYMBOL_GPL(ir_codes_fusionhdtv_mce); | 1850 | EXPORT_SYMBOL_GPL(ir_codes_fusionhdtv_mce); |
1851 | |||
1852 | /* | ||
1853 | * Igor Kuznetsov <igk72@ya.ru> | ||
1854 | * Andrey J. Melnikov <temnota@kmv.ru> | ||
1855 | * | ||
1856 | * Keytable is used by BeholdTV 60x series, M6 series at | ||
1857 | * least, and probably other cards too. | ||
1858 | * The "ascii-art picture" below (in comments, first row | ||
1859 | * is the keycode in hex, and subsequent row(s) shows | ||
1860 | * the button labels (several variants when appropriate) | ||
1861 | * helps to descide which keycodes to assign to the buttons. | ||
1862 | */ | ||
1863 | IR_KEYTAB_TYPE ir_codes_behold[IR_KEYTAB_SIZE] = { | ||
1864 | |||
1865 | /* 0x1c 0x12 * | ||
1866 | * TV/FM POWER * | ||
1867 | * */ | ||
1868 | [ 0x1c ] = KEY_TUNER, /*XXX KEY_TV KEY_RADIO */ | ||
1869 | [ 0x12 ] = KEY_POWER, | ||
1870 | |||
1871 | /* 0x01 0x02 0x03 * | ||
1872 | * 1 2 3 * | ||
1873 | * * | ||
1874 | * 0x04 0x05 0x06 * | ||
1875 | * 4 5 6 * | ||
1876 | * * | ||
1877 | * 0x07 0x08 0x09 * | ||
1878 | * 7 8 9 * | ||
1879 | * */ | ||
1880 | [ 0x01 ] = KEY_1, | ||
1881 | [ 0x02 ] = KEY_2, | ||
1882 | [ 0x03 ] = KEY_3, | ||
1883 | [ 0x04 ] = KEY_4, | ||
1884 | [ 0x05 ] = KEY_5, | ||
1885 | [ 0x06 ] = KEY_6, | ||
1886 | [ 0x07 ] = KEY_7, | ||
1887 | [ 0x08 ] = KEY_8, | ||
1888 | [ 0x09 ] = KEY_9, | ||
1889 | |||
1890 | /* 0x0a 0x00 0x17 * | ||
1891 | * RECALL 0 MODE * | ||
1892 | * */ | ||
1893 | [ 0x0a ] = KEY_AGAIN, | ||
1894 | [ 0x00 ] = KEY_0, | ||
1895 | [ 0x17 ] = KEY_MODE, | ||
1896 | |||
1897 | /* 0x14 0x10 * | ||
1898 | * ASPECT FULLSCREEN * | ||
1899 | * */ | ||
1900 | [ 0x14 ] = KEY_SCREEN, | ||
1901 | [ 0x10 ] = KEY_ZOOM, | ||
1902 | |||
1903 | /* 0x0b * | ||
1904 | * Up * | ||
1905 | * * | ||
1906 | * 0x18 0x16 0x0c * | ||
1907 | * Left Ok Right * | ||
1908 | * * | ||
1909 | * 0x015 * | ||
1910 | * Down * | ||
1911 | * */ | ||
1912 | [ 0x0b ] = KEY_CHANNELUP, /*XXX KEY_UP */ | ||
1913 | [ 0x18 ] = KEY_VOLUMEDOWN, /*XXX KEY_LEFT */ | ||
1914 | [ 0x16 ] = KEY_OK, /*XXX KEY_ENTER */ | ||
1915 | [ 0x0c ] = KEY_VOLUMEUP, /*XXX KEY_RIGHT */ | ||
1916 | [ 0x15 ] = KEY_CHANNELDOWN, /*XXX KEY_DOWN */ | ||
1917 | |||
1918 | /* 0x11 0x0d * | ||
1919 | * MUTE INFO * | ||
1920 | * */ | ||
1921 | [ 0x11 ] = KEY_MUTE, | ||
1922 | [ 0x0d ] = KEY_INFO, | ||
1923 | |||
1924 | /* 0x0f 0x1b 0x1a * | ||
1925 | * RECORD PLAY/PAUSE STOP * | ||
1926 | * * | ||
1927 | * 0x0e 0x1f 0x1e * | ||
1928 | *TELETEXT AUDIO SOURCE * | ||
1929 | * RED YELLOW * | ||
1930 | * */ | ||
1931 | [ 0x0f ] = KEY_RECORD, | ||
1932 | [ 0x1b ] = KEY_PLAYPAUSE, | ||
1933 | [ 0x1a ] = KEY_STOP, | ||
1934 | [ 0x0e ] = KEY_TEXT, | ||
1935 | [ 0x1f ] = KEY_RED, /*XXX KEY_AUDIO */ | ||
1936 | [ 0x1e ] = KEY_YELLOW, /*XXX KEY_SOURCE */ | ||
1937 | |||
1938 | /* 0x1d 0x13 0x19 * | ||
1939 | * SLEEP PREVIEW DVB * | ||
1940 | * GREEN BLUE * | ||
1941 | * */ | ||
1942 | [ 0x1d ] = KEY_SLEEP, | ||
1943 | [ 0x13 ] = KEY_GREEN, | ||
1944 | [ 0x19 ] = KEY_BLUE, /*XXX KEY_SAT */ | ||
1945 | |||
1946 | /* 0x58 0x5c * | ||
1947 | * FREEZE SNAPSHOT * | ||
1948 | * */ | ||
1949 | [ 0x58 ] = KEY_SLOW, | ||
1950 | [ 0x5c ] = KEY_SAVE, | ||
1951 | |||
1952 | }; | ||
1953 | |||
1954 | EXPORT_SYMBOL_GPL(ir_codes_behold); | ||