question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Duplicate mappings

See original GitHub issue

Two GUIDs, namely these:

79000600000000000000504944564944,G-Shark GS-GP702,a:b2,b:b1,x:b3,y:b0,back:b8,start:b9,leftstick:b10,rightstick:b11,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a2,righty:a4,lefttrigger:b6,righttrigger:b7,platform:Windows, 79000600000000000000504944564944,NGS Phantom,a:b2,b:b3,y:b1,x:b0,start:b9,back:b8,leftstick:b10,rightstick:b11,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftx:a0,lefty:a1,rightx:a2,righty:a4,lefttrigger:b6,righttrigger:b7,platform:Windows,

and

ff113133000000000000504944564944,SVEN X-PAD,platform:Windows,a:b2,b:b3,y:b1,x:b0,start:b5,back:b4,leftshoulder:b6,rightshoulder:b7,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftx:a0,lefty:a1,rightx:a2,righty:a4,lefttrigger:b8,righttrigger:b9, ff113133000000000000504944564944,Gembird JPD-DualForce,platform:Windows,a:b2,b:b3,x:b0,y:b1,start:b9,back:b8,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftx:a0,lefty:a1,rightx:a2,righty:a4,lefttrigger:b6,righttrigger:b7,leftstick:b10,rightstick:b11,

seem to be duplicated - ~is this a problem or does SDL2 resolve such by comparing the device name too?~

EDIT: According to SDL2 docs: If a new mapping is loaded for an already known controller GUID, the later version will overwrite the one currently loaded.

So seems like those duplicate mappings do nothing and one of them should be removed.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
ed-mwcommented, May 7, 2017

FWIW… here’s the list of duplicates (Windows)…

03000000341a00003608000000000000
03000000ffff00000000000000000000
030000006d04000016c2000000000000
030000006d04000019c2000000000000
03000000888800000803000000000000
030000004c0500006802000000000000
03000000250900000500000000000000
030000004c050000c405000000000000
030000004c050000cc09000000000000
030000004c050000a00b000000000000
030000006d04000018c2000000000000
03000000362800000100000000000000
03000000102800000900000000000000
03000000ff1100003133000000000000
03000000790000000600000000000000
0reactions
p-groarkecommented, Dec 17, 2017

@sandos Please open a specific issue for your problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What does duplicate mappings mean when trying to upload ...
The “duplicate mapping” error relates to the column headings sharing a word. An example would be “credit amount” and “debit amount” – the...
Read more >
Oracle FDMEE: Duplicate mappings bug - How to solve them
In Oracle FDMEE you can duplicate mappings. This issue causes complete dimensions not to be mapped. How do you solve this this duplicate...
Read more >
Avoid duplicate mapping in MapStruct - java - Stack Overflow
I have two MapStruct mapper classes where some of the target/source classes and some of the fields are exactly the same: ///Mapper 1...
Read more >
duplicate mappings generated : IDEA-178353 - YouTrack
Generate Persistence Mapping: duplicate mappings generated ... the code generated by the "Generate Persistence Mapping —> By Database Schema" dialog.
Read more >
Duplicate Mappings Appear for T2T_REPO_CONTRACTS in ...
Oracle Financial Services Analytical Applications Infrastructure - Version 8.0.3 to 8.0.5 [Release 8]: Duplicate Mappings Appear for ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found