uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

controller.h (553B)


      1 /*
      2 Copyright (c) 2021 Devine Lu Linvega, Andrew Alderwick
      3 
      4 Permission to use, copy, modify, and distribute this software for any
      5 purpose with or without fee is hereby granted, provided that the above
      6 copyright notice and this permission notice appear in all copies.
      7 
      8 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
      9 WITH REGARD TO THIS SOFTWARE.
     10 */
     11 
     12 #define CONTROL_VERSION 1
     13 
     14 void controller_down(Uxn *u, Uint8 *d, Uint8 mask);
     15 void controller_up(Uxn *u, Uint8 *d, Uint8 mask);
     16 void controller_key(Uxn *u, Uint8 *d, Uint8 key);