I created a joystick.fdi in /etc/hal/fdi/policy/:
"<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="input.product" string="HID 6666:0667">
<merge key="input.x11_options.SendCoreEvents" type="string">false</merge>
<merge key="input.x11_options.StartKeysEnabled" type="string">false</merge>
<merge key="input.x11_options.StartMouseEnabled" type="string">false</merge>
</match>
</device>
</deviceinfo>"
Then rebooted, but it didn't work. I've still got mouse and keyboard events being generated by my joystick.
I created a joystick.fdi in /etc/hal/ fdi/policy/ :
"<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2"> x11_options. SendCoreEvents" type="string" >false< /merge> x11_options. StartKeysEnable d" type="string" >false< /merge> x11_options. StartMouseEnabl ed" type="string" >false< /merge>
<device>
<match key="input.product" string="HID 6666:0667">
<merge key="input.
<merge key="input.
<merge key="input.
</match>
</device>
</deviceinfo>"
Then rebooted, but it didn't work. I've still got mouse and keyboard events being generated by my joystick.
Here's the lshal entry: op/Hal/ devices/ usb_device_ 6666_667_ noserial_ if0_logicaldev_ input' op/Hal/ devices/ usb_device_ 6666_667_ noserial_ if0_logicaldev_ input' op/Hal/ devices/ usb_device_ 6666_667_ noserial_ if0' (string) op/Hal/ devices/ usb_device_ 6666_667_ noserial_ if0_logicaldev_ input' (string) originating_ device = '/org/freedeskt op/Hal/ devices/ usb_device_ 6666_667_ noserial_ if0' (string) x11_options. SendCoreEvents = 'false' (string) x11_options. StartKeysEnable d = 'false' (string) x11_options. StartMouseEnabl ed = 'false' (string) hotplug_ type = 2 (0x2) (int) pci0000: 00/0000: 00:12.0/ usb3/3- 1/3-1:1. 0/input/ input6/ event6' (string)
"$ lshal -u '/org/freedeskt
udi = '/org/freedeskt
info.capabilities = {'input', 'input.joystick'} (string list)
info.category = 'input' (string)
info.parent = '/org/freedeskt
info.product = 'HID 6666:0667' (string)
info.subsystem = 'input' (string)
info.udi = '/org/freedeskt
input.device = '/dev/input/event6' (string)
input.
input.product = 'HID 6666:0667' (string)
input.
input.
input.
linux.device_file = '/dev/input/event6' (string)
linux.
linux.subsystem = 'input' (string)
linux.sysfs_path = '/sys/devices/
"