This file contains hidden or 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
# /etc/udev/rules.d/51-these-are-not-joysticks.rules | |
# https://gist.github.com/denilsonsa/978f1d842cf5430f57f6 | |
# | |
# These are devices that, although recognized by kernel as joysticks, are not | |
# joysticks. These rules will prevent the non-functional /dev/input/js* devices | |
# from being used, by removing read/write permissions from them. | |
# | |
# This is just a blacklist, which will always be incomplete (until the actual | |
# bug gets fixed). Feel free to add more devices to this list. | |
# |
This file contains hidden or 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
# | |
# ███╗ ███╗ ██████╗ ██╗ ██╗███████╗██████╗ ████████╗ ██████╗ | |
# ████╗ ████║██╔═══██╗██║ ██║██╔════╝██╔══██╗ ╚══██╔══╝██╔═══██╗ | |
# ██╔████╔██║██║ ██║██║ ██║█████╗ ██║ ██║ ██║ ██║ ██║ | |
# ██║╚██╔╝██║██║ ██║╚██╗ ██╔╝██╔══╝ ██║ ██║ ██║ ██║ ██║ | |
# ██║ ╚═╝ ██║╚██████╔╝ ╚████╔╝ ███████╗██████╔╝ ██║ ╚██████╔╝ | |
# ╚═╝ ╚═╝ ╚═════╝ ╚═══╝ ╚══════╝╚═════╝ ╚═╝ ╚═════╝ | |
# | |
# ╔═════════════════════════════════════════════════════════════════╗ | |
# ║ https://github.com/denilsonsa/udev-joystick-blacklist ║ |
This file contains hidden or 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
using UnityEngine; | |
using System.Collections; | |
using System; | |
using System.Collections.Generic; | |
public class AssetGPULoader : MonoBehaviour { | |
public Camera activeCamera; | |
RenderTexture _rt; | |