mmmh this stuff is not easy!

I think on/off is correct.......

I certainly would not want to change the whole syntax...it works well and is easy to use.

Problem (and I think you raised this before in this thread) is that we need to add a capability in the <Hotkey> definition to test a state before executing the hotkey commands. It is hard to be consistent when state checking is not really implemented elsewhere in HKN

The proposal is that the capslock on/off state is convenient because of the built in feedback mechanisms in the keyboard

I was associating the state with the key. This might not be useful. ie we could (although we probably dont want to) treat the capslock button completely separately from the capslock state.......this is probably not a helpful line of thought


Perhaps we go for

<Hotkey CTRL F1 CAPSLOCK=ON>