Commit Graph

159 Commits

Author SHA1 Message Date
svenhoefer
8991ed60f4 - pick mipsbox code from DDT, TangoCash and max10
Conflicts:
	src/gui/cam_menu.cpp
	src/gui/update.cpp
	src/neutrino.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-05-05 14:11:39 +02:00
GetAway
db31e98c8c rcinput: use translation for some keys 2018-12-05 14:08:48 +01:00
Stefan Seyfried
5731cf10a4 rcinput: fix corrupted iterator on input device hot-unplug
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-10-02 23:24:53 +02:00
Stefan Seyfried
d920f4892a rcinput: try harder to reacquire input device
During lirc package update, the input device was sometimes lost and not
reacquired. Try to reacquire also if setKeyRepeatDelay fails.

Signed-off-by: Thilo Graf <dbt@novatux.de>

# Conflicts:
#	src/driver/rcinput.cpp
2018-07-02 10:11:51 +02:00
GetAway
714cca6ba6 movieplayer.cpp: fix handle key play/pause for arm 2018-05-26 17:59:18 +02:00
Jacek Jendrzej
ef1dbb561e not generic code 2018-03-29 13:17:02 +02:00
svenhoefer
a058f74caa - rcinput: fix unknown KEY_FASTFORWARD for ARM_HARDWARE 2018-01-23 13:29:43 +01:00
max_10
dcaddc563d armbox: fix hd51 first start rc bug 2018-01-20 20:13:15 +01:00
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