mirror of
https://github.com/osiweb/unified_retro_keyboard.git
synced 2024-11-25 09:31:11 +00:00
Fix Apple CAPS power LED to stay on.
This commit is contained in:
parent
2889bc3777
commit
9c0e9a9326
@ -57,11 +57,9 @@ void setup_apple2_caps_keymap(void)
|
|||||||
asdf_virtual_init();
|
asdf_virtual_init();
|
||||||
|
|
||||||
|
|
||||||
// Attach the physical POWER LED as the CAPS LED. Assign no triggered
|
// Turn the POWER LED on and don't assign to any function
|
||||||
// function, and initialize to initial state of the CAPS logic. The CAPS LED
|
|
||||||
// will be controlled by the state of the CAPSLOCK logic.
|
|
||||||
|
|
||||||
asdf_virtual_assign(VCAPS_LED, APPLE_POWER_LED, V_NOFUNC, APPLE_POWER_LED_INIT_VALUE);
|
asdf_virtual_assign(APPLE_VIRTUAL_POWER_LED, APPLE_POWER_LED, V_NOFUNC, APPLE_POWER_LED_INIT_VALUE);
|
||||||
|
|
||||||
// Assign CAPS LED to off (disabled)
|
// Assign CAPS LED to off (disabled)
|
||||||
asdf_virtual_assign(APPLE_VIRTUAL_DISABLED_LED, APPLE_DISABLED_LED, V_NOFUNC, APPLE_DISABLED_INIT_VALUE);
|
asdf_virtual_assign(APPLE_VIRTUAL_DISABLED_LED, APPLE_DISABLED_LED, V_NOFUNC, APPLE_DISABLED_INIT_VALUE);
|
||||||
|
Loading…
Reference in New Issue
Block a user