I want to write udev rule for a Logitec Bluetooth. My keyboard and mouse connect to PC as one Bluetooth device.When I monitor udev, I see there are separate events for keyboard and mouse. I want to allow mouse usage but not keyboard. If I ignore the device, I can't use the mouse. How can I achieve this? Can I ignore the keyboard event? Mouse eventUDEV  [325.554801] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/input/input15 (input)ACTION=addDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/input/input15EV=17ID_BUS=usbID_INPUT=1ID_INPUT_MOUSE=1ID_MODEL=USB_ReceiverID_MODEL_ENC=USB\x20ReceiverID_MODEL_ID=c52fID_PATH=pci-0000:00:1d.0-usb-0:1.2:1.0ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2_1_0ID_REVISION=3000ID_SERIAL=Logitech_USB_ReceiverID_TYPE=hidID_USB_DRIVER=usbhidID_USB_INTERFACES=:030102:030000:ID_USB_INTERFACE_NUM=00ID_VENDOR=LogitechID_VENDOR_ENC=LogitechID_VENDOR_ID=046dKEY=ffff0000 0 0 0 0MODALIAS=input:b0003v046DpC52Fe0111-e0,1,2,4,k110,111,112,113,114,115,116,117,118,119,11A,11B,11C,11D,11E,11F,r0,1,6,8,am4,lsfwMSC=10NAME=Logitech USB ReceiverPHYS=usb-0000:00:1d.0-1.2/input0PRODUCT=3/46d/c52f/111PROP=0REL=143SEQNUM=1513SUBSYSTEM=inputUDEV_LOG=3UNIQ=USEC_INITIALIZED=325550123Keyboard eventUDEV  [325.555963] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.1/input/input16 (input)ABS=100000000ACTION=addDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.1/input/input16EV=1fID_BUS=usbID_INPUT=1ID_INPUT_KEY=1ID_MODEL=USB_ReceiverID_MODEL_ENC=USB\x20ReceiverID_MODEL_ID=c52fID_PATH=pci-0000:00:1d.0-usb-0:1.2:1.1ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2_1_1ID_REVISION=3000ID_SERIAL=Logitech_USB_ReceiverID_TYPE=hidID_USB_DRIVER=usbhidID_USB_INTERFACES=:030102:030000:ID_USB_INTERFACE_NUM=01ID_VENDOR=LogitechID_VENDOR_ENC=LogitechID_VENDOR_ID=046dKEY=4837fff072ff32d bf54444600000000 1 20f908b17c000 677bfad9415fed 9ed68000004400 10000002MODALIAS=input:b0003v046DpC52Fe0111-e0,1,2,3,4,k71,72,73,74,77,80,82,83,85,86,87,88,89,8A,8B,8C,8E,90,96,98,9B,9C,9E,9F,A1,A3,A4,A5,A6,A7,A8,A9,AB,AC,AD,AE,B0,B1,B2,B5,B6,CE,CF,D0,D1,D2,D4,D8,D9,DB,DF,E4,E7,E8,E9,EA,EB,F1,100,161,162,166,16A,16E,172,174,176,178,179,17A,17B,17C,17D,17F,180,182,183,185,188,189,18C,18D,18E,18F,190,191,192,193,195,198,199,19A,1A0,1A1,1A2,1A3,1A4,1A5,1A6,1A7,1A8,1A9,1AA,1AB,1AC,1AD,1AE,1B0,1B1,1B7,1BA,r6,a20,m4,lsfwMSC=10NAME=Logitech USB ReceiverPHYS=usb-0000:00:1d.0-1.2/input1PRODUCT=3/46d/c52f/111PROP=0REL=40SEQNUM=1519SUBSYSTEM=inputUDEV_LOG=3UNIQ=USEC_INITIALIZED=325514060
udev rule for bluetooth device(logitec)
linux;keyboard;monitoring;bluetooth;ude