Commit Graph

122 Commits (v0.1.8)

Author SHA1 Message Date
bel 44cb05487e split out message, config 2023-03-26 08:42:09 -06:00
bel e1e2ce3eec split out xform 2023-03-26 08:39:50 -06:00
bel 4c7f444887 more splitting v01 2023-03-26 08:38:24 -06:00
bel 0311fc56a3 split v01 into its own pkg 2023-03-26 08:37:13 -06:00
bel c153636e24 locks 2023-03-25 23:04:00 -06:00
bel efe4adf129 k no deadlock 2023-03-25 22:57:12 -06:00
bel 802266e500 remove wrapToParse dependence 2023-03-25 22:54:23 -06:00
bel 373d8be1a0 split button and parse packages 2023-03-25 22:52:09 -06:00
bel bd5654128e accept PUT /broadcast to change the broadcast message 2023-03-25 22:37:19 -06:00
bel 3264d9ad55 can send messages back to specific and ALL viewers 2023-03-25 11:27:49 -06:00
bel a1a12b1873 input Getenvs to FlagXYZ 2023-03-25 10:58:13 -06:00
bel ae1e32391c refresh neither leaks wraps, allows 2 of the same at once, nor closes raws 2023-03-25 10:50:39 -06:00
bel 97cc3ae151 refresh users global ch 2023-03-25 10:25:11 -06:00
bel 2113252e2d no lookup env 2023-03-25 10:20:05 -06:00
bel 2cae3c6d28 dont do raw.New, instead add raw.Raw.Refresh explicit 2023-03-25 10:17:36 -06:00
bel 3dd0a557d4 add ctx to v01 2023-03-25 10:15:14 -06:00
bel 51ae1b27b4 on refresh, recreate raw too, because i dont wanna be leaking by not Closing on refresh 2023-03-25 10:13:25 -06:00
bel 3d9ea1296c external test on player transformation 2023-03-25 09:12:10 -06:00
bel db69f76aa0 unit tests are good and v01cfg transforms input if players and user in players 2023-03-25 09:06:43 -06:00
bel b379f1d82c sample cfg file 2023-03-25 00:43:51 -06:00
bel c83f9d8700 load v01 config 2023-03-25 00:30:13 -06:00
bel 607a65e22e if debugging then print lag to stderr 2023-03-25 00:11:12 -06:00
bel ed2b7b7cb9 rename v1 to v01 for git tag 2023-03-24 22:27:56 -06:00
bel 1ef3afd647 whitespace 2023-03-24 22:26:34 -06:00
bel 2746051a2a typing 2023-03-24 22:24:08 -06:00
bel 610aef4f7e rebuild parser on refresh 2023-03-24 22:15:36 -06:00
bel a9ca58f154 v1 complete 2023-03-24 22:10:37 -06:00
bel 7182ab387f test button.plaintext parser 2023-03-24 21:38:06 -06:00
bel 01777c8c3e clean shutdown with udp 2023-03-24 21:14:27 -06:00
bel aa16b66332 udp in bg thread 2023-03-24 21:02:47 -06:00
bel 2af373aed7 integrate button.Parser 2023-03-24 20:52:44 -06:00
bel 896f5e9c92 wrap accepts button.Parser 2023-03-24 20:50:58 -06:00
bel b319ed7e6d split wrap protocol parsing into input.button 2023-03-24 20:25:15 -06:00
bel 9990273b19 protocol should be pkg 2023-03-24 20:05:55 -06:00
bel 38b00e55b0 split src/devices/input into src/devices/input/{raw,wrap} 2023-03-24 19:51:38 -06:00
Bel LaPointe 287b9c7b4e udp input except no clean shutdown 2023-03-24 18:48:54 -06:00
bel edcea37148 drop .[] chars as they dont work on linux and macos for me out of the box 2023-03-24 15:28:17 -06:00
Bel LaPointe 6536daee7f support alpha, numeric, f0..10, punctuation, math keys 2023-03-24 13:49:12 -06:00
Bel LaPointe ea0bb5d365 revert back to case sensitive because you cant hold A and a at the same time 2023-03-24 13:39:17 -06:00
Bel LaPointe 20488d2be8 no wait shift means sideaffecting 2023-03-24 13:37:53 -06:00
Bel LaPointe 7b7486cc93 keys support case 2023-03-24 13:30:46 -06:00
Bel LaPointe adabc4eb98 input.New refactor and test 2023-03-24 12:05:50 -06:00
Bel LaPointe 6e1bfc177d fix random weighted char because %sum can never get last value of sum 2023-03-24 11:51:29 -06:00
Bel LaPointe e491cc5cbc refresher input 2023-03-24 11:46:55 -06:00
bel 37d02f0f52 debugs 2023-03-23 21:05:30 -06:00
bel 8e92c9a6d6 keyboard supports !a to indicate release a 2023-03-23 20:39:57 -06:00
Bel LaPointe 1fc6d71db6 $INPUT_BUFFERED_STICKY_DURATION 2023-03-23 17:00:49 -06:00
Bel LaPointe 4f48ee805f whoops nums bitwised 2023-03-23 16:14:25 -06:00
Bel LaPointe f9ec874491 support numbers as well 2023-03-23 16:10:31 -06:00
Bel LaPointe 32c186e1e2 input ignores newline chars 2023-03-23 15:53:01 -06:00
Bel LaPointe 74e54c4efa support $INPUT_REMAP_FILE 2023-03-02 15:33:52 -07:00
Bel LaPointe b0767818e2 can exit while reading from keyboard 2023-03-02 15:24:26 -07:00
Bel LaPointe 5c5a371f55 buffer blocks while no changes underlying, test buffer 2023-03-02 15:17:01 -07:00
Bel LaPointe bfdab392a0 add input.Buffered and input.Keyboard and a binary to try combo 2023-03-02 15:11:57 -07:00
Bel LaPointe c4e1c525d1 unittest confirms multiple keyboards just werk 2023-03-02 14:32:12 -07:00
Bel LaPointe 78a5445679 $OUTPUT_KEYBOARD=true 2023-03-02 09:54:38 -07:00
Bel LaPointe 594bc39470 use $MAIN_INTERVAL_DURATION 2023-03-02 09:52:15 -07:00
Bel LaPointe 5edefdff5f test $INPUT_RANDOM_WEIGHT_FILE 2023-03-02 09:49:43 -07:00
Bel LaPointe a732bdb6c3 simplify input package but also build secretly new config file option 2023-03-02 09:45:56 -07:00
Bel LaPointe ef314b6b33 random char from weights support 2023-03-02 09:36:59 -07:00
Bel LaPointe fe16e2325c random accepts generator 2023-03-02 09:31:40 -07:00
Bel LaPointe 7202fef15d confirmed keypress works on mac and mario runs right 2023-03-02 09:27:30 -07:00
Bel LaPointe 5f59054366 key.To/FromChar 2023-03-02 09:25:19 -07:00
bel 5d30297ec4 wheeeee 2023-03-01 23:30:20 -07:00
bel 011e37a8fa default constructor 2023-03-01 22:55:11 -07:00
bel 4c78f40f0f output.Output, output.Writer 2023-03-01 22:35:55 -07:00
bel c4c1f11f2a output.Output and output.Writer 2023-03-01 22:23:31 -07:00
bel b2bea80c4c input.Random.Read yields input.Button 2023-03-01 22:03:44 -07:00
bel e284ab7e3f drop unused 2023-03-01 21:12:58 -07:00
bel ecbce05cf3 press empty to release and defer close 2023-03-01 21:11:26 -07:00
bel 4c233cf794 keyboard push mvp 2023-03-01 21:00:27 -07:00
bel b65d2134f5 stub 2023-03-01 20:12:37 -07:00