On Thu, 21 Feb 2019 at 08:49:26 +0200, Leonid Bobrov wrote:
> On Wed, Feb 20, 2019 at 08:37:59PM -0500, James Huddle wrote:
> > is ncurses too high-level for your needs? That might work.
> >
>
> I said I need a direct access to input devices, ie, /dev/wskbd* and
> /dev/wsmouse*, not a library
On Wed, Feb 20, 2019 at 08:37:59PM -0500, James Huddle wrote:
> is ncurses too high-level for your needs? That might work.
>
I said I need a direct access to input devices, ie, /dev/wskbd* and
/dev/wsmouse*, not a library for text UI. ncurses won't work for what
I need, and I need to port
is ncurses too high-level for your needs? That might work.
On Tue, Feb 19, 2019 at 1:27 PM Leonid Bobrov wrote:
> On Tue, Feb 19, 2019 at 04:01:08PM +, tfrohw...@fastmail.com wrote:
> > Is the package x11/xbindkeys what you are looking for?
> >
>
> No, I need a direct access to keyboard
On Tue, Feb 19, 2019 at 04:01:08PM +, tfrohw...@fastmail.com wrote:
> Is the package x11/xbindkeys what you are looking for?
>
No, I need a direct access to keyboard outside X11. If I understand
wscons, I might help to port libinput to OpenBSD (and send patches to
upstream) to have usable
On February 19, 2019 2:16:04 PM UTC, Leonid Bobrov wrote:
>Hi!
>
>I want to write a program that executes a particular code at key press,
>where can I find documentation about that? I have example program which
>doesn't work:
>
>int
>main(void)
>{
>int kbdfd = open("/dev/wskbd", O_RDWR,
I don't know why, but my includes were not sent:
Hi!
I want to write a program that executes a particular code at key press,
where can I find documentation about that? I have example program which
doesn't work:
int
main(void)
{
int kbdfd = open("/dev/wskbd", O_RDWR, 0);
if (errno != 0) {
printf("%s\n",
7 matches
Mail list logo