This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// code from http://stackoverflow.com/questions/29771597/how-can-i-construct-a-template-string-from-a-regular-string | |
// + handling unlimited arguments | |
function assemble(literal, params) { | |
var args = [].slice.apply(arguments) | |
args.shift() | |
return new Function(args, "return `"+literal+"`") | |
} |
if your ps3 controller just vibrates when connecting to the retropie, or when your ps3 controller does not connect via bluetooth, this writedown might help you.
Since no exact description did work for me, I decided to write it down, what I did based on other descriptions, in order to get it to work.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface Option { | |
key: string; | |
label: string; | |
} | |
const results = [ | |
{ k: "1", l: 1 }, | |
{ k: "2", l: 2 }, | |
]; |
OlderNewer