Commit Graph

86 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Jacek Jendrzej
0f371cc918 fix memleak 2016-04-25 15:41:06 +02:00
Jacek Jendrzej
8d1e34a527 avoid pssible memleak 2016-04-21 18:14:46 +02:00
[CST] Focus
fc11a76c01 nhttpd/tuxboxapi/controlapi.cpp: add direct record start for current channel 2016-03-02 14:30:51 +03:00
svenhoefer
2c64d2fb2b Revert "rcinput/neutrino: avoid the use of EVT_TIMESET"
This reverts commit b307b78bf8.

In some cases keys are don't used immediately:
---
0 key: 0074 value 0, translate: 0074 -standby-
1 key: 0074 value 1, translate: 0074 -standby-
0 key: 0074 value 0, translate: 0074 -standby-
1 key: 0074 value 1, translate: 0074 -standby-
CVFD::ShowText: [14:14]
0 key: 0074 value 0, translate: 0074 -standby-
1 key: 0074 value 1, translate: 0074 -standby-
0 key: 0074 value 0, translate: 0074 -standby-
1 key: 0074 value 1, translate: 0074 -standby-
0 key: 0074 value 0, translate: 0074 -standby-
1 key: 0074 value 1, translate: 0074 -standby-
0 key: 0074 value 0, translate: 0074 -standby-
1 key: 0074 value 1, translate: 0074 -standby-
0 key: 0074 value 0, translate: 0074 -standby-
1 key: 0074 value 1, translate: 0074 -standby-
0 key: 0074 value 0, translate: 0074 -standby-
1 key: 0074 value 1, translate: 0074 -standby-
0 key: 0074 value 0, translate: 0074 -standby-
1 key: 0074 value 1, translate: 0074 -standby-
0 key: 0074 value 0, translate: 0074 -standby-
1 key: 0074 value 1, translate: 0074 -standby-
0 key: 0074 value 0, translate: 0074 -standby-
1 key: 0074 value 1, translate: 0074 -standby-
0 key: 0074 value 0, translate: 0074 -standby-
1 key: 0074 value 1, translate: 0074 -standby-
0 key: 0074 value 0, translate: 0074 -standby-
1 key: 0074 value 1, translate: 0074 -standby-
0 key: 0074 value 0, translate: 0074 -standby-
2 key: 0074 value 2, translate: 0074 -standby-
0 key: 0074 value 0, translate: 0074 -standby-
1 key: 0074 value 1, translate: 0074 -standby-
0 key: 0074 value 0, translate: 0074 -standby-
[/.../cst-next/src/neutrino.cpp:standbyMode:3615] OFF
CSAPI (POWER-CLK): new CPU frequency: 600000000Hz
CSAPI (VIDEO): Standby 1 -> 0
CSAPI (HDMI-CEC): Power Status: STANDBY -> ON
CSAPI (HDMI-CEC): Device free (Logical Address: 03)
CSAPI (HDMI-CEC): Power Status: ON
---
2016-01-18 08:10:23 +01:00
Stefan Seyfried
b307b78bf8 rcinput/neutrino: avoid the use of EVT_TIMESET
sectionsd's EVT_TIMESET was only used to fix time calculations
for input repeat detection. I doubt this reliably worked anyway.
Just calculate an absolute input timestamp from CLOCK_MONOTONIC
and use that. Even better solution would be to use a newer
kernel with EVIOCSCLOCKID ioctl, leave that for later :-)
2016-01-14 22:29:00 +01:00
Stefan Seyfried
89f6da98f1 rcinput: remove unused code, comment FIXME
I think I have mostly deciphered the meaning of this :-)
2016-01-14 22:29:00 +01:00
Jacek Jendrzej
1bfcad398f fix compiling warnings 2015-02-11 19:21:54 +01:00
[CST] Focus
1398736bd8 driver/rcinput.cpp: reset first key press only on key press event 2015-01-15 15:26:58 +03:00
[CST] Focus
6e9b71af90 neutrino, zapit: drop EVT_SCAN_REPORT_FREQUENCY,
use EVT_SCAN_REPORT_FREQUENCYP to pass full feparams,
fix scan transponder display info
2014-10-02 14:23:36 +04:00
[CST] Focus
a473fe8194 webtv channels integration port,
initial code (C) martii,
initial patch from jacek
2014-08-27 17:32:26 +04:00
[CST] Focus
c359fe4eaa driver/rcinput.cpp: re-add shutdown after wakeup cancel,
code from commit d886a95acd is lost after some pick ?
2014-05-08 12:36:56 +04:00
Stefan Seyfried
33d2fb319a rcinput: fix invalid narrowing cast 2014-05-02 09:47:42 +02:00
[CST] Focus
2a6ef5b30d driver/rcinput.cpp: add NeutrinoMessages::EVT_HOTPLUG 2014-04-23 17:44:12 +04:00
martii
34c23ed7a5 driver/rcinput: let getUnicodeValue() return const char * 2014-02-25 00:17:09 +01:00
martii
7826ab0fca driver/rcinput: implement long key press support (but no rcsim/yWeb support at this time)
driver/rcinput: drop unused gettimeofday code
2014-02-25 00:09:14 +01:00
martii
088a75b6e2 driver/rcinput: minor cleanup 2014-02-18 20:07:39 +01:00
M. Liebmann
92fce346c0 yWeb: Synchronize volume/audiomute settings yWeb => GUI 2014-02-12 06:02:27 +01:00
Jacek Jendrzej
9855a220be webif standby -add option CEC standby off (dont use TV off) 2014-01-28 10:30:29 +01:00
Jacek Jendrzej
4be0273083 -add webif option dont use CEC with standbyoff 2014-01-26 22:24:17 +01:00
Stefan Seyfried
081e35b3e5 rcinput: avoid theoretically possible timerid overflow 2013-12-26 13:37:36 +01:00
svenhoefer
3c8d47fa49 Revert "global.h: Use forward-declarations to reduce number of dependencies"
This reverts commit 4bc6e43ad4.
2013-11-13 23:40:16 +01:00
Stefan Seyfried
4bc6e43ad4 global.h: Use forward-declarations to reduce number of dependencies 2013-11-13 10:40:03 +01:00
[CST] Focus
af49e54d22 driver/rcinput.cpp: increase neutrino.sock listen backlog -
try to avoid dead-lock on zap flood, when neutrino wait response for command,
while zapit try to send event to neutrino
2013-10-25 13:03:11 +04:00
svenhoefer
5227f726c9 - yweb: fix /control/reboot 2013-09-28 22:25:41 +02:00
[CST] Focus
f210a8c048 neutrino: add EVT_BACK_ZAP_COMPLETE event for background epg scan zap 2013-08-13 20:10:02 +04:00
[CST] Focus
d886a95acd try to fix shutdown after wakeup, if several recordings was done,
cancel shutdown after wakeup, if remote used, based on code (c) martii <m4rtii@gmx.de>
2013-07-30 14:10:21 +04:00
[CST] Focus
6cf3ceef4f neutrinoMessages.h, rcinput.cpp: add NeutrinoMessages::EVT_EIT_COMPLETE 2013-06-12 18:46:34 +04:00
Jacek Jendrzej
a549b97924 fix comma at end of enumerator list 2013-05-28 15:52:31 +02:00
[CST] Focus
65bd112d78 driver/rcinput.cpp: add missing sleep, sub, pos keys 2013-03-06 15:42:23 +04:00
[CST] Focus
026592e8fe Merge branch 'dvbsi++' into next
Conflicts:
	src/neutrino.cpp
	src/zapit/src/femanager.cpp
	src/zapit/src/getservices.cpp
	src/zapit/src/transponder.cpp
2013-02-28 16:39:34 +04:00
Stefan Seyfried
4dbeb3a31e neutrino: fix 32<->64bit format string warnings
use portable C99 format string macros for 64bit types to
fix many warnings when compiling for 64bit architectures,
add some (int) casts for size_t
2013-02-21 15:47:18 +01:00