Commit Graph

46 Commits

Author SHA1 Message Date
filifa a53928ef5e validate presets 2024-09-03 22:38:23 -05:00
filifa e0c4715cd5 simplify json format 2024-09-03 22:25:40 -05:00
filifa 4a9b17f4ed refactor preset loading 2024-09-02 23:33:35 -05:00
filifa 75ba1e8134 simplify script loading 2024-09-02 23:26:10 -05:00
filifa 86ef3a0e82 move script loading to root 2024-09-02 23:22:56 -05:00
filifa 5c95c5346f handle single presets 2024-09-02 23:10:46 -05:00
filifa 56d3c2c555 make -p and -s mutually exclusive 2024-09-02 22:52:54 -05:00
filifa ee984f7d72 handle no script being passed 2024-09-02 22:49:29 -05:00
filifa 87394e7263 don't cycle rapidly when held 2024-09-02 22:44:24 -05:00
filifa dbbbceaa49 make loading script a method of window 2024-09-02 22:42:44 -05:00
filifa 9e8aff813e cycle in reverse with left 2024-09-02 22:31:25 -05:00
filifa 21c0e3f447 cycle through presets with right 2024-09-02 22:17:11 -05:00
filifa bf6bf28635 add program description 2024-09-02 21:03:17 -05:00
filifa f0b432614d use different strategy from stackoverflow 2024-08-25 22:00:01 -05:00
filifa 583a50be79 add more details 2024-08-25 21:48:34 -05:00
filifa db3b2efb1e remove ld_library_path in example 2024-08-25 18:57:34 -05:00
filifa f30eb1c678 remove -L directive 2024-08-25 18:16:53 -05:00
filifa efa8e8b27a remove -I flag 2024-08-25 17:45:48 -05:00
filifa d9a2582c69 update example pipeline 2024-08-24 22:41:14 -05:00
filifa f2f49013f1 don't import C in root 2024-08-24 22:03:37 -05:00
filifa bcc683ede7 add copyright header 2024-08-24 21:24:16 -05:00
filifa e48b6418e9 add readme stub 2024-08-24 21:24:09 -05:00
filifa 32e0e553a0 use cobra 2024-08-24 21:05:15 -05:00
filifa edaf47d893 pass window struct to event functions 2024-08-24 20:14:00 -05:00
filifa 4aaf8e6638 move window stuff to own file 2024-08-24 19:53:39 -05:00
filifa 622e85a4f6 make render a method of milkdropwindow 2024-08-24 19:42:45 -05:00
filifa 4a9d73ef04 refactor window creation 2024-08-24 19:38:27 -05:00
filifa 01e888ad25 make handleWindowEvent function 2024-08-24 19:18:59 -05:00
filifa 85c55e5a21 refactor main loop 2024-08-24 19:13:02 -05:00
filifa 1d81506ef6 make window resizable 2024-08-24 18:58:42 -05:00
filifa b1ac211369 remove sleep call 2024-08-24 18:27:13 -05:00
filifa 5299d653aa free preset memory 2024-08-24 18:05:53 -05:00
filifa b67aae3289 use array 2024-08-24 17:00:13 -05:00
filifa c715f42c71 start cleanup 2024-08-24 15:00:01 -05:00
filifa 7c377aa79b change window name 2024-08-24 14:03:55 -05:00
filifa 59bebc7e00 handle eof 2024-08-24 13:51:27 -05:00
filifa 5bba14b556 don't use bufio 2024-08-22 22:49:05 -05:00
filifa f0cd273a5f set buffer size for reader 2024-08-22 22:44:14 -05:00
filifa 15d3f6200f reduce buffer size 2024-08-22 22:36:45 -05:00
filifa e5172787a1 read data as int16 2024-08-22 22:27:04 -05:00
filifa b9257adf5f read a preset 2024-08-22 21:59:21 -05:00
filifa c709e012bf read stdin 2024-08-22 21:23:53 -05:00
filifa a9a6211521 render default preset 2024-08-22 20:08:28 -05:00
filifa a67aa7a4ae set window size 2024-08-22 19:54:02 -05:00
filifa 908d12ccc9 use cgo and newest libprojectm 2024-08-22 19:53:05 -05:00
filifa 1905515311 initial commit 2024-08-19 21:53:48 -05:00