Skip to content

Commit

Permalink
added swap/invyz flags to the CadMan USB and SB5000 USB
Browse files Browse the repository at this point in the history
Resolves github issue #93
  • Loading branch information
jtsiomb committed Feb 16, 2024
1 parent a2d121a commit 1d6fde6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ static struct usbdb_entry {
int (*bnmap)(int); /* remap buttons on problematic devices */
} usbdb[] = {
{{0x046d, 0xc603}, DEV_PLUSXT, 0, 0}, /* spacemouse plus XT */
{{0x046d, 0xc605}, DEV_CADMAN, 0, 0}, /* cadman */
{{0x046d, 0xc605}, DEV_CADMAN, DF_SWAPYZ | DF_INVYZ, 0}, /* cadman */
{{0x046d, 0xc606}, DEV_SMCLASSIC, 0, 0}, /* spacemouse classic */
{{0x046d, 0xc621}, DEV_SB5000, 0, 0}, /* spaceball 5000 */
{{0x046d, 0xc621}, DEV_SB5000, DF_SWAPYZ | DF_INVYZ, 0}, /* spaceball 5000 */
{{0x046d, 0xc623}, DEV_STRAVEL, DF_SWAPYZ | DF_INVYZ, 0}, /* space traveller */
{{0x046d, 0xc625}, DEV_SPILOT, DF_SWAPYZ | DF_INVYZ, 0}, /* space pilot */
{{0x046d, 0xc626}, DEV_SNAV, DF_SWAPYZ | DF_INVYZ, 0}, /* space navigator */
Expand Down

0 comments on commit 1d6fde6

Please sign in to comment.