How to control how udev tags the input devices?
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I create virtual devices using uinput that are then properly detected by udev which seems to be assigning a tag like "mouse" or "tablet".
I guess udev does this by judging the capabilities set for the device: if I set EV_REL, udev seems to tag my device as a "mouse", which is good for me, but if I set EV_ABS, udev seems to decide it is a "tablet", which is probably perfectly correct but not what I need. Would it be possible to write some udev rule to ask udev to tag as "mouse" a device even though it has the capability EV_ABS?
The final result that I need is to create a virtual device using uinput, detected as "mouse" (not "tablet"), where I can set absolute coords instead of relative. Would it be possible to do this? Can I force this with a udev rule maybe?
Thanks!
udev input
add a comment |Â
up vote
1
down vote
favorite
I create virtual devices using uinput that are then properly detected by udev which seems to be assigning a tag like "mouse" or "tablet".
I guess udev does this by judging the capabilities set for the device: if I set EV_REL, udev seems to tag my device as a "mouse", which is good for me, but if I set EV_ABS, udev seems to decide it is a "tablet", which is probably perfectly correct but not what I need. Would it be possible to write some udev rule to ask udev to tag as "mouse" a device even though it has the capability EV_ABS?
The final result that I need is to create a virtual device using uinput, detected as "mouse" (not "tablet"), where I can set absolute coords instead of relative. Would it be possible to do this? Can I force this with a udev rule maybe?
Thanks!
udev input
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I create virtual devices using uinput that are then properly detected by udev which seems to be assigning a tag like "mouse" or "tablet".
I guess udev does this by judging the capabilities set for the device: if I set EV_REL, udev seems to tag my device as a "mouse", which is good for me, but if I set EV_ABS, udev seems to decide it is a "tablet", which is probably perfectly correct but not what I need. Would it be possible to write some udev rule to ask udev to tag as "mouse" a device even though it has the capability EV_ABS?
The final result that I need is to create a virtual device using uinput, detected as "mouse" (not "tablet"), where I can set absolute coords instead of relative. Would it be possible to do this? Can I force this with a udev rule maybe?
Thanks!
udev input
I create virtual devices using uinput that are then properly detected by udev which seems to be assigning a tag like "mouse" or "tablet".
I guess udev does this by judging the capabilities set for the device: if I set EV_REL, udev seems to tag my device as a "mouse", which is good for me, but if I set EV_ABS, udev seems to decide it is a "tablet", which is probably perfectly correct but not what I need. Would it be possible to write some udev rule to ask udev to tag as "mouse" a device even though it has the capability EV_ABS?
The final result that I need is to create a virtual device using uinput, detected as "mouse" (not "tablet"), where I can set absolute coords instead of relative. Would it be possible to do this? Can I force this with a udev rule maybe?
Thanks!
udev input
asked Feb 7 at 13:07
Luca Carlon
1749
1749
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f422535%2fhow-to-control-how-udev-tags-the-input-devices%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password