param is a 32-bit coded integer. The low word is the requested LED state, the high word is the mask for LEDs to modify.
In SpaceNavigator and SpaceNavigator for Notebooks, we only have one logical LED and it's number 1 so you'd use something like:
state = 0x0001 or 0x0000
mask = 0x0001
message to turn LED on = (0x0001 << 16) | 0x0001 = 0x00010001
message to turn LED off = (0x0001 << 16) | 0x0000 = 0x00010000
Users browsing this forum: No registered users and 1 guest