Commit Graph

121 Commits

Author SHA1 Message Date
Stefan Seyfried
844020b2fe rcinput: add less ugly hack for crappy hd2 driver 2017-02-22 11:43:37 +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
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
Stefan Seyfried
949e42445d 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-10 16:14:10 +01:00
Stefan Seyfried
58c95460b9 rcinput: remove unused code, comment FIXME
I think I have mostly deciphered the meaning of this :-)
2016-01-10 15:53:27 +01:00
Stefan Seyfried
48fdfc5e5e Merge remote-tracking branch 'test/cst-next'
Conflicts:
	src/gui/osdlang_setup.cpp
2015-02-19 14:10:26 +01:00
Jacek Jendrzej
1bfcad398f fix compiling warnings 2015-02-11 19:21:54 +01:00
Stefan Seyfried
b5a64e6887 Merge remote-tracking branch 'check/cst-next'
*needs buildfixing*

Conflicts:
	src/daemonc/Makefile.am
	src/daemonc/remotecontrol.cpp
	src/driver/Makefile.am
	src/driver/audiodec/Makefile.am
	src/driver/pictureviewer/Makefile.am
	src/driver/vfd.cpp
	src/gui/bedit/Makefile.am
	src/gui/components/Makefile.am
	src/gui/luainstance.cpp
	src/gui/widget/Makefile.am
	src/nhttpd/tuxboxapi/coolstream/Makefile.am
	src/system/Makefile.am
2015-01-26 17:26:26 +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
Stefan Seyfried
69c4dbbdba Merge remote-tracking branch 'check/cst-next'
needs build- and functional fixes

Conflicts:
	configure.ac
	data/icons/shutdown.jpg
	data/icons/start.jpg
	data/locale/deutsch.locale
	data/locale/english.locale
	lib/libmd5sum/md5.c
	src/driver/scanepg.cpp
	src/driver/streamts.cpp
	src/driver/vfd.cpp
	src/driver/vfd.h
	src/driver/volume.cpp
	src/eitd/dmx.cpp
	src/eitd/xmlutil.cpp
	src/gui/Makefile.am
	src/gui/audiomute.cpp
	src/gui/channellist.cpp
	src/gui/dboxinfo.cpp
	src/gui/epgview.cpp
	src/gui/eventlist.cpp
	src/gui/filebrowser.cpp
	src/gui/hdd_menu.cpp
	src/gui/infoviewer.cpp
	src/gui/infoviewer_bb.cpp
	src/gui/infoviewer_bb.h
	src/gui/keybind_setup.cpp
	src/gui/luainstance.cpp
	src/gui/luainstance.h
	src/gui/miscsettings_menu.cpp
	src/gui/moviebrowser.cpp
	src/gui/movieplayer.cpp
	src/gui/osd_progressbar_setup.cpp
	src/gui/osd_progressbar_setup.h
	src/gui/osd_setup.cpp
	src/gui/osdlang_setup.cpp
	src/gui/personalize.cpp
	src/gui/plugins.cpp
	src/gui/plugins.h
	src/gui/scan.cpp
	src/gui/scan_setup.cpp
	src/gui/update_settings.cpp
	src/gui/user_menue.cpp
	src/gui/user_menue_setup.cpp
	src/gui/videosettings.cpp
	src/gui/widget/buttons.cpp
	src/gui/widget/menue.cpp
	src/gui/widget/menue.h
	src/gui/widget/progresswindow.cpp
	src/neutrino.cpp
	src/neutrino_menue.cpp
	src/nhttpd/yhttpd.cpp
	src/system/helpers.cpp
	src/system/locals.h
	src/system/locals_intern.h
	src/system/setting_helpers.cpp
	src/zapit/lib/zapitclient.cpp
	src/zapit/src/fastscan.cpp
	src/zapit/src/frontend.cpp
	src/zapit/src/getservices.cpp
	src/zapit/src/scan.cpp
	src/zapit/src/scannit.cpp
	src/zapit/src/scanpmt.cpp
	src/zapit/src/transponder.cpp
	src/zapit/src/zapit.cpp
2014-12-25 18:03:08 +01: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
Stefan Seyfried
2c11b9f0f0 rcinput: fix invalid narrowing cast 2014-04-27 19:25:52 +02:00
Stefan Seyfried
44ba8fafca Merge remote-tracking branch 'check/next-cc'
build-tested only, needs fixing

Conflicts:
	data/locale/deutsch.locale
	data/locale/english.locale
	src/Makefile.am
	src/driver/rcinput.cpp
	src/driver/streamts.cpp
	src/eitd/sectionsd.cpp
	src/gui/Makefile.am
	src/gui/bouquetlist.cpp
	src/gui/hdd_menu.cpp
	src/gui/luainstance.cpp
	src/gui/luainstance.h
	src/gui/moviebrowser.cpp
	src/gui/movieplayer.cpp
	src/gui/pluginlist.cpp
	src/gui/plugins.cpp
	src/gui/plugins.h
	src/gui/scan.cpp
	src/gui/scan_setup.cpp
	src/gui/user_menue.cpp
	src/gui/videosettings.cpp
	src/gui/widget/menue.cpp
	src/neutrino.cpp
	src/neutrinoMessages.h
	src/system/locals.h
	src/system/locals_intern.h
	src/zapit/include/zapit/scan.h
	src/zapit/src/femanager.cpp
	src/zapit/src/frontend.cpp
	src/zapit/src/getservices.cpp
	src/zapit/src/transponder.cpp
2014-04-27 19:14:06 +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
Stefan Seyfried
f6d8c02313 Merge remote-tracking branch 'check/next-cc' 2014-02-19 11:29:29 +01:00
martii
088a75b6e2 driver/rcinput: minor cleanup 2014-02-18 20:07:39 +01:00
Stefan Seyfried
ecd62d81d1 Merge remote-tracking branch 'check/next-cc'
...only build-tested, needs fixes
2014-02-15 20:22:07 +01:00
M. Liebmann
92fce346c0 yWeb: Synchronize volume/audiomute settings yWeb => GUI 2014-02-12 06:02:27 +01:00
Stefan Seyfried
65437a60a8 Merge remote-tracking branch 'broken/next-cc' 2014-01-28 13:22:00 +01:00
Jacek Jendrzej
9855a220be webif standby -add option CEC standby off (dont use TV off) 2014-01-28 10:30:29 +01:00
Stefan Seyfried
e9bc524562 Merge remote-tracking branch 'check/next-cc' 2014-01-27 21:00:18 +01:00
Jacek Jendrzej
4be0273083 -add webif option dont use CEC with standbyoff 2014-01-26 22:24:17 +01:00