Commit Graph

372 Commits (partial-rewrite)

Author SHA1 Message Date
Ben Blazak 952c2792ed extended `key_functions__type_string()` to use keycodes
when possible, and "unicode sequences" otherwise.  made the function
enormous, but also much more useful :)
2013-06-14 15:52:47 -07:00
Ben Blazak a89e6528f2 mostly aesthetic updates 2013-06-14 00:31:06 -07:00
Ben Blazak 36edee2eb7 '.c' files should now include the header that defines their functions 2013-06-13 23:41:26 -07:00
Ben Blazak 559fe97d7e finished removing `timer__schedule_milliseconds()` 2013-06-13 16:38:29 -07:00
Ben Blazak aec1bac3bb removed `timer__schedule_milliseconds()`
since we weren't executing scheduled functions inside the interrupt
vector, and therefore had to wait to execute a cycle's worth of
scheduled "millisecond tasks" at the end of each cycle anyway, it was
kind of a misleading function to have around. i'd keep it around and
change the functionality back to running scheduled tasks inside the
interrupt vector, except i feel that that should be strongly discouraged
2013-06-13 16:32:41 -07:00
Ben Blazak 4d50761b0d now allocating `list__list_t`s as static vars instead of pointers
and a small documentation update
2013-06-13 16:22:49 -07:00
Ben Blazak c24adb542c working mostly on lib/eeprom; hopefully done :) 2013-06-13 16:14:42 -07:00
Ben Blazak 0a9f4ec61d makefile: improved the way options.mk files are included 2013-06-11 19:47:42 -07:00
Ben Blazak b8156b4329 (lib/eeprom: fixed casting error) 2013-06-11 00:08:31 -07:00
Ben Blazak f6252243cc (lib/eeprom-macro: working) 2013-06-11 00:06:36 -07:00
Ben Blazak 30da4f3d31 (lib/eeprom: doc and makefile update) 2013-06-10 23:53:34 -07:00
Ben Blazak be8c826e90 added my own little EEPROM library
the library provided, as far as i can tell, does not allow for *only*
erasing or *only* writing bytes, only for doing both at the same time.
2013-06-10 23:38:09 -07:00
Ben Blazak d280078435 (still working) 2013-06-10 14:21:38 -07:00
Ben Blazak 0f72931b12 (lib/eeprom-macro: still working)
never mind what i was talking about in the last few commits.  i'm not
sure if i'll be able to get fault tolerance logic designed well or not,
but after all this, it appears that i really really want to try, lol.
i'm thinking about how i might implement logging right now.
2013-06-07 21:14:03 -07:00
Ben Blazak 950bddd579 lib/eeprom-macro: still planning! getting closer and closer..... 2013-06-07 01:27:25 -07:00
Ben Blazak 9ce41f8bc5 lib/eeprom-macro: one possibility 2013-06-06 20:26:26 -07:00
Ben Blazak f96b75a4f8 lib/eeprom-macro: still planning o_o
going to retain a degree of fault tolerance... but probably the more
old school kind, where if there's a power loss at a bad time, we know
about it, and can usually correct the problem, but it takes a while
(fsck style)
2013-06-06 17:38:05 -07:00
Ben Blazak b9ff36161e working on "lib/eeprom-macro": still planning...!
would it be better to just assume power won't fail (and writes will
always be successful), and tell people that if there's a macro they
really care about, they really should write it in the source, and
recompile?

at least initially... and then if i decide that there needs to be fault
tolerance in the library, i can implement some logging of some sort.  it
probably wouldn't take *that* much more space, actually, even to do it
pretty generally, than what i'm trying to do right now... dunno.

but under normal use, it should be safe enough to live dangerously...

and i'm not going to implement a way for people who don't want to get a
nice avr toolchain going to put macros in after compilation anyway (since
it'd be easier to just write a UI... and hopefully other people haven't
lost interest, and will still do that for me... :) lol ).  so the eeprom
is not really a place that permanent macros *shoud* be, anyways...

ya... i think i should do that

</random thoughts> ... i'm tired
2013-06-06 02:35:23 -07:00
Ben Blazak 1f4dd59ea1 added reference 2013-06-06 01:58:36 -07:00
Ben Blazak a49110b2fc doc update 2013-06-05 21:43:54 -07:00
Ben Blazak 3959e83f38 doc update 2013-06-05 21:21:07 -07:00
Ben Blazak e5c3490dd6 (intermediate checkin; working on lib/eeprom-macro stuff still) 2013-06-05 14:59:19 -07:00
Ben Blazak 58dd5ab239 (todo and doc update) 2013-06-05 01:36:29 -07:00
Ben Blazak 3c99158e55 (added TODO) 2013-06-05 00:50:25 -07:00
Ben Blazak b7e03df76b working; especially on eeprom-macro stuff 2013-06-04 01:42:11 -07:00
Ben Blazak 0ab9483b94 (small doc update) 2013-06-03 00:48:32 -07:00
Ben Blazak 56cbc8cb1b lib/eeprom-macro : debating implementation 2013-06-01 23:56:05 -07:00
Ben Blazak 0c23c45627 (smallest style change ever) 2013-06-01 22:56:53 -07:00
Ben Blazak 8867e1b9d2 starting to implement lib/eeprom-macro 2013-06-01 17:32:05 -07:00
Ben Blazak 8b5daa9d92 (more minor planning updates) 2013-05-31 11:16:11 -07:00
Ben Blazak 3a2af3a9dd still planning for lib/eeprom_macro 2013-05-31 02:54:20 -07:00
Ben Blazak 3582dfbc65 small doc update 2013-05-31 02:54:10 -07:00
Ben Blazak e82c23b21c bug fix: just fixed a holdover from a long time ago
which just now started to make compilation fail
2013-05-29 02:08:17 -07:00
Ben Blazak 681d51ffb1 planning for eeprom_macro stuff :) - plans kinda messy still 2013-05-29 02:05:06 -07:00
Ben Blazak 10959ee7b9 small update 2013-05-29 02:04:40 -07:00
Ben Blazak 29446dfb24 finished implementing `...send_unicode_sequence()`
(for now, as always - :) )
2013-05-28 01:38:59 -07:00
Ben Blazak 115ef0ff4f TEST: going to remove some notes and clean `...send_unicode...()` up 2013-05-27 13:57:40 -07:00
Ben Blazak d8e62debf7 TEST: more notes (and updated)
will fix everything when i'm not so tired :)
2013-05-27 01:16:27 -07:00
Ben Blazak ad6a934f3a TEST: contains some notes, for future reference 2013-05-26 23:51:46 -07:00
Ben Blazak 1905f05263 TEST: this works, but i think i'm going to simplify it 2013-05-26 01:11:37 -07:00
Ben Blazak 79cda0e3c4 working on the scheduling offset logic 2013-05-25 12:20:41 -07:00
Ben Blazak db74d1b26a (added a note) 2013-05-25 01:43:11 -07:00
Ben Blazak 76eaa117ce (mostly small doc and comment changes) 2013-05-24 23:53:20 -07:00
Ben Blazak 4e1bd12990 (small doc change) 2013-05-24 21:52:46 -07:00
Ben Blazak 71d541be2f made lists use pointers again :/ didn't know what i was doing...
and fixed a tiny little logic bug in ...exec_key()

and now scheduling works as expected! :D for all three timers!!!
2013-05-24 21:48:45 -07:00
Ben Blazak 58255dc29b messing with timers again; working on sticky keys 2013-05-24 21:10:03 -07:00
Ben Blazak f2acad70a4 (small doc change) 2013-05-24 15:18:07 -07:00
Ben Blazak e560e476f7 changed list fn's to accept lists instead of list pointers 2013-05-24 15:03:45 -07:00
Ben Blazak 1197f4d682 (forgot this; split platform dependent/agnostic timer code) 2013-05-24 12:35:51 -07:00
Ben Blazak d3e9291d49 (in the middle of a lot of misc changes) 2013-05-24 12:35:08 -07:00