Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#264382 - 04/09/2005 13:15 Button handling when the player app isn't running
Andre81
new poster

Registered: 13/08/2005
Posts: 28
Loc: Germany
When i (q)uit the player app and start my own app from the bash the hijack screen and button handling doesn't work any longer.

I'm now using mmap to access the screen but i don't know how i can get button events because EMPEG_HIJACK_BINDBUTTONS doesn't work.

Top
#264383 - 04/09/2005 14:20 Re: Button handling when the player app isn't running [Re: Andre81]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
The "Hijack" stuff is called "Hijack" because it works by "hijacking" the player's screen and button paths. When the player is not running, some "Hijack" features also stop working.

That's probably one of them.

Cheers

Top
#264384 - 04/09/2005 15:41 Re: Button handling when the player app isn't running [Re: mlord]
Andre81
new poster

Registered: 13/08/2005
Posts: 28
Loc: Germany
I understand that and the intention of my post was not to say Hijack doesn't work, i just would like to know how i can capture button events without hijack.

Top
#264385 - 04/09/2005 17:40 Re: Button handling when the player app isn't running [Re: Andre81]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Quote:
how i can capture button events without hijack.


open("/dev/ir", O_RDONLY);
_________________________
-- roger

Top