Hi,
We only need to migrate the state when it is different of the default
one (0).
Er, isn't it going to be different from the default in like 99% of
circumstances?
Why? caps lock and scroll lock are off usually. numlock depends on
what the user prefers. In case he cares in the first place of course.
I expect most users don't and just go with the default.
On my physical machines numlock is off by default. Likewise in my
virtual machines: SeaBIOS keeps it off by default, and Linux+Windows
guests don't muck with it at boot.
I remember physical machines used to have numlock on by default in the
90ies. They even had a BIOS Setup option to pick the initial numlock
state. That seems to be out-fashioned these days though, I havn't seen
that for quite a while now ...
cheers,
Gerd