Skip to content

Instantly share code, notes, and snippets.

Shawn Featherly Feddas

Block or report user

Report or block Feddas

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Feddas
Feddas / AlignToVrNode
Last active Mar 23, 2018
Get the tracking spaces origin position and rotation
View AlignToVrNode
using UnityEngine;
using UnityEngine.VR;
public class AlignToVrNode : MonoBehaviour
{
public VRNode VrNode = VRNode.RightHand;
void Awake()
{
//If VR isn't enabled, don't try to track this object
@Feddas
Feddas / EliteDangerousKeyBindings.md
Last active Jan 30, 2017
Elite:Dangerous Key Bindings
View EliteDangerousKeyBindings.md

How to make key bindings

As described in this reddit post, you can add multiple custom binds by copying and renaming the file at:

C:\Users\[your username]\AppData\Local\Frontier Developments\Elite Dangerous\Options\Bindings\Customs.binds

Clutches are holding one button then pressing another, like Ctrl+S. They're great for adding more bindings to the same number of buttons. Here's more details: http://www.reddit.com/r/EliteDangerous/comments/2y7tjv/option_to_bind_button_to_multiple_functions/

My Keybinds

Everything below is the custom setup I use. It's based off of the "Control pad with yaw" control scheme. I tried to make clutches that complimented the non-clutched version of the button. Here are the differences from the "Control pad with yaw" control scheme.

@Feddas
Feddas / CypherLiteral.cs
Last active Aug 29, 2015 — forked from WilliamHester/TwoHundred.java
If A=1, B=2, C=3, etc., then T+W+O+H+U+N+D+R+E+D+A+N+D+F+I+F+T+Y+N+I+N+E = 259
View CypherLiteral.cs
/// <summary>
/// brute force solution for http://www.reddit.com/r/Showerthoughts/comments/3a3xzw/if_a1_b2_c3_etc_then_twohundredandfiftynine_259/
/// Interaction logic for CypherLiteral.xaml
/// </summary>
public partial class CypherLiteral : UserControl
{
public readonly String[] ONES = new String[]{"",
"ONE", "TWO", "THREE", "FOUR", "FIVE", "SIX",
"SEVEN", "EIGHT", "NINE"};
View XamlBindToViewModel.xaml
<Window x:Class="ProjectName.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:viewmodel="clr-namespace:ProjectName.ViewModels"
Title="MainWindow" Height="350" Width="525">
<Window.Resources>
<!-- This creates an instance of the TestViewModel held in the ProjectName.ViewModels namespace -->
<viewmodel:TestViewModel x:Key="TestViewModel" />
</Window.Resources>
You can’t perform that action at this time.