delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/10/13:04:02

From: David Jenkins <me AT jenkinsdavid DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Keyboard Functions with Allegro
Date: Thu, 7 Aug 1997 06:18:17 +0100
Organization: None
Distribution: world
Message-ID: <Ut16yJAZqV6zEw15@jenkinsdavid.demon.co.uk>
References: <33E94795 DOT 2343 AT mail DOT coos DOT or DOT us>
NNTP-Posting-Host: jenkinsdavid.demon.co.uk
MIME-Version: 1.0
Lines: 31
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <33E94795 DOT 2343 AT mail DOT coos DOT or DOT us>, Jason Dagit
<thedagit AT mail DOT coos DOT or DOT us> writes
>Hello,
>
>I was wondering if it is possible to turn the lights on the keyboard on
>and off using functions in Allegro.  I don't just want to activate or
>deactivate the num lock and caps lock but I want to be albe to make
>thier light flash on and off.  There is a function for putting a
>keypress in the buffer but I don't know if that would work.
>
>Please give advice and please reply via email.  I am no longer
>subscribed due to the very large amount of mail that the mailing list
>sends.
>
>Jason

I doubt if its possible, BUT if it is, could you post anything here and
CC it to Jason.
I'm almost certain if it is possible, the answer doesn't lie in Allegro,
but in accessing the keyboards port directly. Doing something naughty
like hitting the hardware directly, telling everything else thats
running to shut up moaning I'm going to change the lights whether you
like it or not.

BTW if anybody knows how to make the modem LEDs change, I'd like to
know. It'd be great to make it look like KITT from Knight Rider. :)

-- 
http://www.jenkinsdavid.demon.co.uk for C programmers.
David Jenkins

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019