device_if, device_unless, device_exists_if, device_exists_unless

Change an event if/unless the event is from specified device. Example Change caps_lock to escape on Apple keyboards, wiht the vendor ID is 1452 (0x05ac) or 76 (0x004c) or if it’s a built-in keyboard. How to use this example { "description": "Change caps_lock to escape on Apple keyboards", "manipul…