keyboard definition

Hi,
I’d like to know how the Num_Lock is manage and why it’s not managed as
the Caps_lock?

In a kdef file, if I put the unconditionnal action:

Action {
then Press <Num_Lock>
}

Why the Num_Lock isn’t enabled?


Alain.

Alain Bonnefoy wrote:

In a kdef file, if I put the unconditionnal action:

Action {
then Press <Num_Lock
}

Why the Num_Lock isn’t enabled?

Because the Actions only run when you press or release a modifier key.
As soon as you hit Shift or Ctrl or any other modifier, NumLock should
get enabled. (Provided, of course, that you put your action at the end
of the action table, where it can’t get overriden by any other actions.)

Ok Wojtek so, I get devi-hirun from 6.3 which includes -LN option. Much
better.
Wojtek Lerch wrote:

Alain Bonnefoy wrote:
In a kdef file, if I put the unconditionnal action:

Action {
then Press <Num_Lock
}

Why the Num_Lock isn’t enabled?

Because the Actions only run when you press or release a modifier key.
As soon as you hit Shift or Ctrl or any other modifier, NumLock should
get enabled. (Provided, of course, that you put your action at the end
of the action table, where it can’t get overriden by any other actions.)