Commit Graph

151 Commits

Author SHA1 Message Date
svenhoefer
a4670c75a9 - rcinput: add RC_playpause key
Conflicts:
	src/driver/rcinput.cpp
	src/driver/rcinput.h

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-12-21 11:28:27 +01:00
svenhoefer
ac9a7c43cb - rcinput: fix compiler warnings about unused variables
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-12-11 17:11:46 +01:00
svenhoefer
1b39396e87 fix generic keyboard
Conflicts:
	src/driver/rcinput.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-11-16 19:43:25 +01:00
svenhoefer
edd88db0f9 - rcinput: add some new keys ...
and translate KEY_VIDEO (list-key) to RC_favorites for ARM_HARDWARE

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-10-29 21:47:50 +01:00
TangoCash
fb7623c567 fix some keys 2017-10-29 18:31:59 +01:00
Jacek Jendrzej
4fc73acffc Merge branch 'master' into pu/mp 2017-09-29 10:49:27 +02:00
svenhoefer
99cc7f850a - rcinput: simplify calcTimeoutEnd() calls; 0 is "off" by default now 2017-09-29 10:34:23 +02:00
Jacek Jendrzej
b7ceb705a0 Merge branch 'master' into pu/mp 2017-09-26 12:52:04 +02:00
Stefan Seyfried
9425caa6e5 rcinput: disable timer debug messages 2017-09-26 12:41:05 +02:00
Stefan Seyfried
d0a21abd9f rcinput: add two more keys in the ugly azbox translate() table 2017-08-21 10:17:05 +02:00
Stefan Seyfried
4978ed7675 rcinput: fix getKeyName for RC_none case 2017-08-21 10:17:05 +02:00
Jacek Jendrzej
72a9fa40db Merge branch 'master' into pu/mp 2017-07-05 21:43:36 +02:00
svenhoefer
761a2b2e73 - epgscan: allow to set rescan period to catch a bug in epgscan
Scan isn't executed while a movie is played. When movie is stopped
the scan-timer is ignored too.

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-07-04 12:22:53 +02:00
Jacek Jendrzej
32a0fb6de4 fix PC compil 2017-03-13 19:06:33 +01:00
Stefan Seyfried
c3e5d77bfe rcinput: apply ev.time adjustment to all events
This fixes detection of keys that are allowed to be long-pressed if
"long keypress" feature is enabled.
No idea why this was applied only to key press events before :-)
2017-02-25 16:07:25 +01:00
Stefan Seyfried
df4987ad84 rcinput: apply ev.time adjustment to all events
This fixes detection of keys that are allowed to be long-pressed if
"long keypress" feature is enabled.
No idea why this was applied only to key press events before :-)
2017-02-25 15:58:07 +01:00
Stefan Seyfried
25165a1eaf rcinput: clarify comment regarding hd2 device 2017-02-23 15:14:27 +01:00
Stefan Seyfried
d02b29650e rcinput: add less ugly hack for crappy hd2 driver 2017-02-23 15:14:27 +01:00
Stefan Seyfried
f0ab22d8b0 Revert "CRCInput::set_rc_hw: Fix device check for cs hd2"
This reverts commit 5cac45ccb8.
2017-02-23 15:14:27 +01:00
Stefan Seyfried
ee9138f065 Revert "rcinput: Add exception handling for cs hd2"
This reverts commit 1b79faff78.

Wrong in so many ways :-)

 - The code worked perfectly. But ok, it's easier possible. ;)

Signed-off-by: M. Liebmann <git@tuxcode.de>
2017-02-23 15:14:27 +01:00
Stefan Seyfried
eb6d73af7a rcinput: clarify comment regarding hd2 device 2017-02-22 20:29:51 +01:00
Stefan Seyfried
41b5d78c42 Revert "- rc_input: do always show key-presses in console; ..."
This reverts commit 056b47c09b.
2017-02-22 20:07:29 +01:00
Stefan Seyfried
4aab7d37f5 Merge branch 'tuxbox-fixed' 2017-02-22 20:06:27 +01:00
Stefan Seyfried
3d7f6f13c4 Revert "- rc_input: just cosmetics to satisfy syntax-highlighters"
This reverts commit d7ed439e53.
2017-02-22 20:05:54 +01:00
Stefan Seyfried
63dce04974 Revert "- rc_input: rename checkLnkDev() to checkdev_lnk(); ..."
This reverts commit 0e435bb389.
2017-02-22 20:05:26 +01:00
svenhoefer
056b47c09b - rc_input: do always show key-presses in console; ...
by mistake removed in 1eec78ccfd
2017-02-22 14:53:25 +01:00
M. Liebmann
383af04cb7 CRCInput::setKeyRepeatDelay: Change hardware dependency,
HD2 driver is not so very ugly. ;)
2017-02-22 12:04:58 +01:00
svenhoefer
1eec78ccfd - rc_input: we have d_printf, so let's use it 2017-02-22 11:50:09 +01:00
Stefan Seyfried
844020b2fe rcinput: add less ugly hack for crappy hd2 driver 2017-02-22 11:43:37 +01:00
svenhoefer
d7ed439e53 - rc_input: just cosmetics to satisfy syntax-highlighters 2017-02-22 08:59:56 +01:00
svenhoefer
0e435bb389 - rc_input: rename checkLnkDev() to checkdev_lnk(); ...
just to align form-style to latest changes
2017-02-22 08:59:56 +01:00
Stefan Seyfried
eab0a0ac0a Revert "CRCInput::set_rc_hw: Fix device check for cs hd2"
This reverts commit 5cac45ccb8.
2017-02-22 08:46:05 +01:00
Stefan Seyfried
215bf87173 Revert "rcinput: Add exception handling for cs hd2"
This reverts commit 1b79faff78.

Wrong in so many ways :-)
2017-02-22 08:45:37 +01:00
Stefan Seyfried
5c95139207 Merge remote-tracking branch 'tuxbox/master' 2017-02-22 08:44:53 +01:00
M. Liebmann
5cac45ccb8 CRCInput::set_rc_hw: Fix device check for cs hd2 2017-02-22 06:24:48 +01:00
Stefan Seyfried
f45456d7a8 rcinput: remove unused/unimplemented click functions 2017-02-22 06:24:48 +01:00
Stefan Seyfried
41958cc029 rcinput: fix set_rc_hw() after dynamic devices patch
...this could use some tests... :-)
2017-02-22 06:24:48 +01:00
Stefan Seyfried
0df5a8df7f rcinput: add setKeyRepeatDelay() function
this allows to get rid of the broken getFileHandle function later
2017-02-22 06:24:48 +01:00
M. Liebmann
1b79faff78 rcinput: Add exception handling for cs hd2
- Supplement to previous commit
2017-02-22 06:24:48 +01:00
Stefan Seyfried
7b3aa2b181 rcinput: use a dynamic list of input devices
Instead of the fixed, static list of input devices, scan /dev/input/ for
proper event devices. A "good" input device is one that supports the
EVIOCGBIT ioctl and at least the EV_KEY event type.
This probably needs further fixes, e.g. in repeat rate setting code.
2017-02-22 06:24:48 +01:00
M. Liebmann
d932a1a326 rcinput: Transfer from neutrino-mp for better compatibility 2017-02-22 06:24:48 +01:00
Stefan Seyfried
9b8524b37b rcinput: remove unused/unimplemented click functions 2017-02-20 20:36:45 +01:00
Stefan Seyfried
57fa882b81 rcinput: fix set_rc_hw() after dynamic devices patch
...this could use some tests... :-)
2017-02-20 20:22:32 +01:00
Stefan Seyfried
7a6dd0c46e rcinput: add setKeyRepeatDelay() function
this allows to get rid of the broken getFileHandle function later
2017-02-20 20:20:54 +01:00
Stefan Seyfried
98557462ef rcinput: use a dynamic list of input devices
Instead of the fixed, static list of input devices, scan /dev/input/ for
proper event devices. A "good" input device is one that supports the
EVIOCGBIT ioctl and at least the EV_KEY event type.
This probably needs further fixes, e.g. in repeat rate setting code.
2017-02-19 23:16:09 +01:00
Stefan Seyfried
a409047714 Merge remote-tracking branch 'tuxbox/master' 2017-01-22 22:59:39 +01:00
GetAway
0330515abc pzapit: add -lockrc/-unlockrc options; port from martii
I've pulled it from Duckbox-Developers/neutrino-mp-cst-next
and modified it to work
2016-12-11 20:20:02 +01:00
Stefan Seyfried
13ab1ebc8a Merge remote-tracking branch 'tuxbox/master'
* needs compile fixes
* needs additional tests, of course :-)
2016-10-22 11:37:40 +02:00
svenhoefer
2911e638c7 - add listModeKey() function to simplify these calls 2016-09-09 10:42:46 +02:00
Jacek Jendrzej
3b33d1ef38 src/driver/rcinput.cpp revert (not sure) 2016-04-26 19:38:24 +02:00