directFB directfb_keynames.h

http://directfb.org/index.php/mailinglists/directfb-users/2003/06-2003/msg00091.html

 

Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[directfb-users] Re: LIRC and DirectFB..



Hi,
I am trying to find a solution to make my remote (PixelView PlayTV
Pro) to control DirectFB program.Following is the modified
/etc/lircd.conf file. I tried to make directfb to respond to remote
control rays. But i am not succeeded. Help me where i am going wrong.

# /etc/lircd.conf file....

# brand: PixelView
# model: PlayTV Pro remote control
#
# supported devices:
# works both with home-brew and TV card receiver (use lirc-0.6.6 or
better)
#


begin remote

name pixelviewp
bits 16
flags SPACE_ENC|CONST_LENGTH
eps 20
aeps 200

pre_data_bits 16
pre_data 0x61d6

header 9000 4500
one 563 1687
zero 563 562
ptrail 563
repeat 9000 2250
gap 108000
toggle_bit 0

frequency 38000
duty_cycle 33

begin codes

power ESCAPE
zoom LEFT
scan RIGHT
tv/fm CAPS_LOCK
vol+ UP
vol- DOWN
chan+ PAGE_UP
chan- PAGE_DOWN
mute NUM_LOCK
source BACKSPACE
loop SPACE
+100 INSERT
fn- DELETE
fn+ HOME
reset END
freeze F1
function ENTER
0 SMALL_A
1 SMALL_B
2 SMALL_C
3 SMALL_D
4 CAPITAL_A
5 CAPITAL_B
6 CAPITAL_C
7 TAB
8 SHIFT_L
9 CONTROL_L

end codes

end remote

As far as input drivers in DirectFB is concerned, the drivers are
invoked by default, say for example keyboard and mouse drivers. So
also "lirc" input driver must be invoked by default. Or else do we
require to invoke the driver manually ? Is the "lirc" input driver of
DirectFB is a server daemon program similar to server program of
"LIRC" package ? lircd is a server daemon program of LIRC package
which respond client request (remote control rays). Like wise is the
"lirc" input driver of DirectFB a server program ? Will it respond to
any remote control provided with necessary /etc/lircd.conf file ?

With Regards,
S.Suriya Mohan.


On Fri, 20 Jun 2003 Sven Neumann wrote :
>Hi,
>
>"suriya mohan" <suriyamohan23@rediffmail.com> writes:
>
> > I had compiled "lirc" input driver and loaded the library file
> > "libdirectfb_lirc.so" earlier itself. I tried working "df_input"
> > example program. Where can I get the document which describes how
to
> > work with lirc in DirectFB ?
>
>The mailing list archive has information on this subject and it can be
>easily searched from the directfb.org homepage. Here's what I found:
>
> > where can i find examles of lircrc for DirectFB or a table of
> > DirectFB commands for lirc?
>
> There are no examples, you simply have to name the keys like
> DirectFB does (DIKS_* without DIKS_). See directfb_keynames.h
> for a complete list.
>
>And from another mail:
>
> i have found the solution for my problem ;--)
>
> For my configuration the solution is to made an /etc/lircd.conf
with
> the keys that i have found in directfb_keynames.h, **** no need for
> .lircrc and irexec.
>
>Of course we will appreciate if you'd write a short document about it
>once you got your remove control working.
>
>
>Sven

Home | Main Index | Thread Index

posted @ 2014-11-28 14:53  alxe_yu  阅读(164)  评论(0)    收藏  举报