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
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { |
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
GamepadList {0: undefined, 1: Gamepad, 2: undefined, 3: undefined, length: 4}0: undefined1: Gamepadaxes: Array[4]buttons: Array[16]connected: trueid: "Xbox 360 Controller (XInput STANDARD GAMEPAD)"index: 1mapping: "standard"timestamp: 728__proto__: Gamepadaxes: (...)get axes: () { [native code] }arguments: nullcaller: nulllength: 0name: ""__proto__: Empty() {}apply: apply() { [native code] }arguments: nullbind: bind() { [native code] }call: call() { [native code] }caller: nullconstructor: Function() { [native code] }length: 0name: "Empty"toString: toString() { [native code] }__proto__: Object<function scope><function scope>Global: WindowInfinity: Infinity$: (e,t){return new x.fn.init(e,t,r)}AnalyserNode: AnalyserNode() { [native code] }AnimationEvent: AnimationEvent() { [native code] }ApplicationCache: ApplicationCache() { [native code] }ApplicationCacheErrorEvent: ApplicationCacheErrorEvent() { [native code] }Array: Array() { [native code] }ArrayBuffer: ArrayBuffer() { [native code] }Attr: Attr() { [native c |
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
GamepadList {0: undefined, 1: Gamepad, 2: undefined, 3: undefined, length: 4}0: undefined1: Gamepadaxes: Array[4]buttons: Array[16]connected: trueid: "Xbox 360 Controller (XInput STANDARD GAMEPAD)"index: 1mapping: "standard"timestamp: 728__proto__: Gamepadaxes: (...)get axes: () { [native code] }arguments: nullcaller: nulllength: 0name: ""__proto__: Empty() {}apply: apply() { [native code] }arguments: nullbind: bind() { [native code] }call: call() { [native code] }caller: nullconstructor: Function() { [native code] }length: 0name: "Empty"toString: toString() { [native code] }__proto__: Object<function scope><function scope>Global: WindowInfinity: Infinity$: (e,t){return new x.fn.init(e,t,r)}AnalyserNode: AnalyserNode() { [native code] }AnimationEvent: AnimationEvent() { [native code] }ApplicationCache: ApplicationCache() { [native code] }ApplicationCacheErrorEvent: ApplicationCacheErrorEvent() { [native code] }Array: Array() { [native code] }ArrayBuffer: ArrayBuffer() { [native code] }Attr: Attr() { [native c |
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
var gamepadsChanged = false; | |
for (var i = 0; i < rawGamepads.length; i++) { | |
if (typeof rawGamepads[i] != gamepadSupport.prevRawGamepadTypes[i]) { | |
gamepadsChanged = true; | |
gamepadSupport.prevRawGamepadTypes[i] = typeof rawGamepads[i]; | |
} | |
if (rawGamepads[i]){ | |
gamepadSupport.gamepads.push(rawGamepads[i]); |
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
.controller .stick.left { | |
display: none; | |
} | |
.controller .stick.right{ | |
display: block; | |
} | |
.controller .arrows:before{ | |
transform: translateX(8px); | |
} |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
// ==UserScript== | |
// @name Discord Direct Video Embed | |
// @namespace https://orangestar12.github.io/ | |
// @version 0.1 | |
// @description Converts uploaded videos that end in .webm and .mp4 into embedded video players. | |
// @author Orangestar | |
// @match https://discordapp.com/channels/* | |
// @grant none | |
// ==/UserScript== |
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
.edit.xbox .sticks{ | |
-webkit-filter: invert(1); | |
} |
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
/* | |
So when dealing with CSS sprites, this is how we would normally | |
go about styling the HTML | |
*/ | |
.custom .button{ | |
position: absolute; | |
width:62px; | |
height:62px; | |
background: url(ps3-assets/face-buttons.png); | |
} |
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
.ds4 .stick { | |
filter: brightness(2); | |
} |
OlderNewer