Commit Graph

9859 Commits

Author SHA1 Message Date
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
dceb6989a8 rcinput: remove now unused (and broken) getFileHandle() 2017-02-22 06:24:48 +01:00
Stefan Seyfried
8b8b4ce0e2 keybind_setup: use rcinput->setKeyRepeatDelay() 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
e35969afe2 Fix compiler format warnings 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
M. Liebmann
0c182785e2 src/system/helpers.cpp: Add function readLink() 2017-02-22 06:24:48 +01:00
M. Liebmann
8bee8b4c6d fb_generic: use more swidth variables in fbCopyArea() 2017-02-21 06:38:48 +01:00
Stefan Seyfried
cdc9935b83 tuxtxt: remove dead code, unnecessary header includes 2017-02-21 06:38:48 +01:00
Stefan Seyfried
291eaa0450 tuxtxt: remove old, unused input code 2017-02-21 06:38:48 +01:00
Stefan Seyfried
9385bd8bd9 fb_accel_glfb: fix color palette setting 2017-02-21 06:38:48 +01:00
Stefan Seyfried
b3a79a3a33 tuxtxt: remove old framebuffer device code 2017-02-21 06:38:48 +01:00
Stefan Seyfried
dfddc62d0c tuxtxt: remove unused dmx variable 2017-02-21 06:38:48 +01:00
Stefan Seyfried
418819e261 libtuxtxt: remove unused fd parameter from tuxtx_main() 2017-02-21 06:38:48 +01:00
Stefan Seyfried
f94f960e85 acinclude: move AC_SYS_LARGEFILE after AC_CANONICAL_*
no idea why, but detection of 64bit largefile flags fails otherwise in
some setups
2017-02-21 06:38:48 +01:00
Stefan Seyfried
dd653288d8 fb_generic: use 32bit pointers instead of 8bit 2017-02-21 06:38:48 +01:00
Stefan Seyfried
7c7d5f08dd fb_generic: add swidth variable, "stride in fb_pixel_t units"
this should allow to use fb_pixel_t pointer arithmetics more often
instead of byte pointers
2017-02-21 06:38:48 +01:00
Stefan Seyfried
9b8524b37b rcinput: remove unused/unimplemented click functions 2017-02-20 20:36:45 +01:00
Stefan Seyfried
63c3157dd8 rcinput: remove now unused (and broken) getFileHandle() 2017-02-20 20:26:39 +01:00
Stefan Seyfried
f308ca649a keybind_setup: use rcinput->setKeyRepeatDelay() 2017-02-20 20:25:57 +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
M. Liebmann
b7110faaf6 tuxtxt: Use hw blitting with fbCopyArea() for cs hd2 2017-02-20 00:09:46 +01:00
M. Liebmann
cc5a1b3b31 framebuffer: Add fbCopyArea function
- Copies areas within the frame buffer
 - Hardware accelerated function for cs hd2
 - Copying overlapping areas does not always work correctly
   without hardware acceleration
2017-02-20 00:09:46 +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
50cf26441f tuxtxt: remove dead code, unnecessary header includes 2017-02-19 18:14:57 +01:00
Stefan Seyfried
98b7904a47 tuxtxt: remove old, unused input code 2017-02-19 18:04:50 +01:00
Stefan Seyfried
dce9f53654 fb_accel_glfb: fix color palette setting 2017-02-19 17:57:59 +01:00
Stefan Seyfried
39bb1c5cad tuxtxt: remove old framebuffer device code 2017-02-19 14:34:44 +01:00
Stefan Seyfried
e906fc70e3 tuxtxt: remove unused dmx variable 2017-02-19 12:09:03 +01:00
Stefan Seyfried
eb3fa7f2af libtuxtxt: remove unused fd parameter from tuxtx_main() 2017-02-19 11:52:37 +01:00
Stefan Seyfried
b10cd6a973 acinclude: move AC_SYS_LARGEFILE after AC_CANONICAL_*
no idea why, but detection of 64bit largefile flags fails otherwise in
some setups
2017-02-19 11:30:11 +01:00
Stefan Seyfried
73dc5eea71 fb_generic: use 32bit pointers instead of 8bit 2017-02-19 11:29:20 +01:00
Jacek Jendrzej
e908858c19 try to fix segfault with --enable-cleanup 2017-02-17 12:11:03 +01:00
Jacek Jendrzej
4bfe34bf5d src/driver/scanepg.cpp avoid possible segfault 2017-02-17 11:09:53 +01:00
Stefan Seyfried
a6fc59ad6c fb_generic: add swidth variable, "stride in fb_pixel_t units"
this should allow to use fb_pixel_t pointer arithmetics more often
instead of byte pointers
2017-02-15 20:30:52 +01:00
Stefan Seyfried
1d9d81d448 Merge remote-tracking branch 'tuxbox/master' 2017-02-15 20:26:44 +01:00
M. Liebmann
84edb25f3f fb_accel_cs_hd2: add missing getBackBufferPointer() 2017-02-15 18:39:02 +01:00
Stefan Seyfried
c977c98217 tuxtxt: convert to int-pointer arithmetic, work with all framebuffers
This converts the drawing code from byte-pointer to fb_pixel_t-pointer
arithmetic, making the calculations more obvious and probably more
efficient.
Additionally, the color tables are now generated in a way that it should
work regardless of the frame buffer color format. Allows to remove a few
hardware specific #ifdefs.
2017-02-15 18:38:03 +01:00
M. Liebmann
5612baaff7 libtuxtxt: Transfer from neutrino-mp for better compatibility 2017-02-15 18:38:03 +01:00
Stefan Seyfried
20a85c3874 fb_accel_td: add missing getBackBufferPointer()
this fixes tuxtxt rendering problems
2017-02-15 18:38:03 +01:00
Stefan Seyfried
f51278b094 tuxtxt: convert to int-pointer arithmetic, work with all framebuffers
This converts the drawing code from byte-pointer to fb_pixel_t-pointer
arithmetic, making the calculations more obvious and probably more
efficient.
Additionally, the color tables are now generated in a way that it should
work regardless of the frame buffer color format. Allows to remove a few
hardware specific #ifdefs.
2017-02-15 00:31:26 +01:00
Stefan Seyfried
3413af4236 fb_accel_td: add missing getBackBufferPointer()
this fixes tuxtxt rendering problems
2017-02-15 00:10:59 +01:00