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
| use std::default::Default; | |
| use std::num::Zero; | |
| pub struct Matrix<T> { | |
| values: Vec<T>, | |
| rows: uint, | |
| columns: uint, | |
| } | |
| struct BaseMatrixIter { |
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
| __author__ = 'Oliver Maskery' | |
| import datetime | |
| import pygame | |
| import random | |
| import math | |
| class Controller(object): |
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
| //! structure describing a mapping from input values to output events | |
| typedef struct sMappingInfo | |
| { | |
| // sensing | |
| uint64_t InputMask; //!< what digital inputs must be high to trigger this mapping | |
| // actuating | |
| uint64_t AssertMask; //!< what digital outputs must be asserted when mapping is triggered | |
| uint8_t AssertKey; //!< what key is pressed when mapping is triggered | |
NewerOlder