QDNX Bug Tracker :: Mon, 06 Aug 2018 15:11:53 +0000 QDNX Bug Tracker :: RatSlap: Recently closed tasks https://bugs.qdnx.org/ QB#124: Failed operations don't abort execution Krayon Tue, 10 Jul 2018 15:32:34 +0000 A failed operation doesn’t abort execution such that subsequent parameters are
still parsed and executed. eg.

$ ./ratslap -s INVALID1 -s INVALID2 -s INVALID3
RatSlap v0.2.2 (BUILT: 2018-05-01 01:00:50+1000)
Copyright (C) 2016 Todd Harbour
Linux configuration tool for Logitech mice (currently only G300/G300S)
https://gitlab.com/krayon/ratslap/
Found Logitech G300s (046d:c246) @ 0x1470620
Detaching kernel driver...
20180711T012738+1000 [E]           main.c:01322:main            ERROR: Invalid mode for select option: INVALID1
20180711T012738+1000 [E]           main.c:01322:main            ERROR: Invalid mode for select option: INVALID2
20180711T012738+1000 [E]           main.c:01322:main            ERROR: Invalid mode for select option: INVALID3
Attaching kernel driver...

I can’t think of any way at present that this could be bad but it’s probably
not a good idea.

]]>
https://bugs.qdnx.org/task/124 https://bugs.qdnx.org/task/124
QB#123: Check mode_load() return code Krayon Tue, 10 Jul 2018 14:23:31 +0000 Currently we are not checking the return code of mode_load(). This could lead
to weird results in the printing of a mode.

]]>
https://bugs.qdnx.org/task/123 https://bugs.qdnx.org/task/123
QB#122: Help shouldn't require USB permissions Krayon Sun, 08 Jul 2018 07:43:04 +0000 From GitHub Issue #15 by ChillyWillyGuru:

If you run 'ratslap -h' normally such that the user doesn't have access to
the usb, you get an error about not being able to do any usb ops rather than
the help. Help should ALWAYS be available. I'd suggest checking if the help
option has been asked for first before anything else, and if so print the
help and exit. Only if the user doesn't want help should it then try to get
the usb.
]]>
https://bugs.qdnx.org/task/122 https://bugs.qdnx.org/task/122
QB#114: Factory reset option Krayon Wed, 09 Nov 2016 11:44:38 +0000 It would be good to have a factory reset option to return the mouse to
(Logitech’s idea of) sane button assignments.

]]>
https://bugs.qdnx.org/task/114 https://bugs.qdnx.org/task/114
QB#121: set_debug is deprecated, use libusb_set_option instead Krayon Fri, 27 Apr 2018 11:06:47 +0000 From GitHub PR #14 by captn3m0 :

Use libusb_set_option, set_debug is deprecated

]]>
https://bugs.qdnx.org/task/121 https://bugs.qdnx.org/task/121
QB#111: Build fails: implicit declaration of function 'libusb_strerror' Krayon Tue, 08 Nov 2016 22:26:03 +0000 On systems with older libusb, libusb_strerror isn’t defined and will therefore lead to
a failure to build.

]]>
https://bugs.qdnx.org/task/111 https://bugs.qdnx.org/task/111
QB#117: Compile fails when ctags missing Krayon Mon, 27 Feb 2017 10:38:08 +0000 From GitHub Issue #7 by akred :

  Hello,
  
  Can you add documentation in order to explain how to install this tool please ?
  For those who are not familiar to C language.
  On my side, I have download sources and run the command "make", but I have an error which is :
  
      /bin/sh: 1: ctags: not found
      Makefile:170 : la recette pour la cible ? ctags ? a ?chou?e
      make: *** [ctags] Erreur 127
  
  Thanks for your help

Obviously ctags shouldn’t be required for compilation, only development.

]]>
https://bugs.qdnx.org/task/117 https://bugs.qdnx.org/task/117
QB#106: Modify mode - change button assignment Krayon Tue, 08 Nov 2016 13:10:52 +0000 Ability to map different keys to each button

]]>
https://bugs.qdnx.org/task/106 https://bugs.qdnx.org/task/106
QB#109: kernel driver disconnect after --listkeys Krayon Tue, 08 Nov 2016 13:43:11 +0000 The kernel driver stays disconnected after calling ratslap with –listkeys.

]]>
https://bugs.qdnx.org/task/109 https://bugs.qdnx.org/task/109
QB#108: kernel driver disconnect after --help/--version Krayon Tue, 08 Nov 2016 13:39:54 +0000 The kernel driver stays disconnected after calling ratslap with –help or –version.

]]>
https://bugs.qdnx.org/task/108 https://bugs.qdnx.org/task/108