Added a hal fdi policy file, and modified the install target of the makefile to

install it in /etc/hal/fdi/policy.
Thanks to Jaroslaw Bulat for the info regarding fdi files.


git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@79 ef983eb1-d774-4af8-acfd-baaf7b16a646
pull/1/head
John Tsiombikas 2009-02-02 06:35:56 +00:00
rodzic ffba7db4a1
commit adc5366783
3 zmienionych plików z 12 dodań i 1 usunięć

Wyświetl plik

@ -22,10 +22,13 @@ install: $(bin)
$(INSTALL) -d $(PREFIX)/bin
$(INSTALL) -m 755 $(bin) $(PREFIX)/bin/$(bin)
$(INSTALL) -m 755 $(srcdir)/$(ctl) $(PREFIX)/bin/$(ctl)
[ -d /etc/hal/fdi/policy ] && \
$(INSTALL) -m 644 spacenav.fdi /etc/hal/fdi/policy/spacenav.fdi
cd $(srcdir) && ./setup_init --no-install
.PHONY: uninstall
uninstall:
rm -f $(PREFIX)/bin/$(bin)
rm -f $(PREFIX)/bin/$(ctl)
rm -f /etc/hal/fdi/policy/spacenav.fdi
# cd $(srcdir) && ./setup_init remove

2
README
Wyświetl plik

@ -1,4 +1,4 @@
spacenavd - 0.3.1
spacenavd - 0.3.2
-----------------
1. About

8
spacenav.fdi 100644
Wyświetl plik

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.product" contains="3Dconnexion">
<remove key="input.x11_driver"/>
</match>
</device>
</deviceinfo>