summaryrefslogtreecommitdiff
path: root/ltunify.c
AgeCommit message (Collapse)AuthorFilesLines
2013-04-26ltunify: make fkeyswap default action statusfkeyswapPeter Wu1-9/+5
2013-04-26ltunify: implement fkeyswap commandPeter Wu1-1/+74
Warning: I am sleepy so there may be bugs or ugly code. It is tested and works on a K800 keyboard though (and of course it should abort when trying on my M525 mouse).
2013-04-26ltunify: refactor numeric device checkPeter Wu1-11/+13
2013-04-25ltunify: alias args to avoid constructs like (*args)[0]Peter Wu1-7/+8
(*args)[0] is not very obvious, introduce a new variable to avoid one indirection.
2013-04-25ltunify: remove unused signal handler and debugging loopPeter Wu1-36/+0
2013-04-25ltunify: version 0.1v0.1Peter Wu1-1/+1
2013-04-25ltunify: fix device type validationPeter Wu1-1/+1
2013-04-25ltunify: fix spelling errors and outdated commentPeter Wu1-7/+7
2013-04-24ltunify: print device type that got unpairedPeter Wu1-1/+3
2013-04-24ltunify: allow friendly name as device indexPeter Wu1-11/+86
2013-04-24ltunify: fix copying one byte too much (caught by -fsanitze=address)Peter Wu1-1/+1
2013-04-24ltunify: put version info for receiver in "receiver-info"Peter Wu1-4/+4
2013-04-24ltunify: do not disable notifications if it was enabled beforePeter Wu1-12/+18
Just in case there are other users of this notification system.
2013-04-24ltunify: support --device and do not always print full helpPeter Wu1-26/+54
This changes the behavior of validate_args to return the number of command arguments. The timeout value for "pair" is also validated and the version number printed.
2013-04-24Support passing a custom hidraw device with -dPeter Wu1-1/+8
2013-04-24ltunify: remove DEBUG envvar, use getoptPeter Wu1-15/+37
2013-04-24Fix compiler warningsPeter Wu1-2/+4
The memcpy bug is actually a real one-by-off. Since the msg_long struct is contained in a union of hidpp_message, this does not lead to write-past-boundaries (but it may read more than intended). Some fields of version could be uninitialised (when the register query failed). Explicitly clear the values to make clang happy.
2013-04-24ltunify: suggest loading hid-logitech-djPeter Wu1-0/+4
2013-04-08Updated README with ltunify sessionPeter Wu1-0/+1
2013-04-08ltunify: automatically detect hidraw devicePeter Wu1-12/+59
2013-04-08Initial checking of pairing toolPeter Wu1-0/+995