summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* added a handler for graphics events and not only assuming we only need to ↵epoch2020-04-026-27/+27
| | | | redraw when there's an input event, so draw_screen() got moved and now redraw() will actually call it.
* I was dereferencing a value without checking it first. just stopped using ↵epoch2020-04-021-3/+4
| | | | the value. just to get it working again.
* added ability for you to add custom LDLIBS when makingepoch2020-03-281-3/+3
|
* added hackvr_uri script and fixed the makefile brokennessepoch2020-03-281-1/+0
|
* bunch of stuff that added proper flatten, then broke stuff again trying to ↵epoch2020-03-285-43/+148
| | | | make it use libhashtable
* should have split these changes into two commitsepoch2020-03-281-36/+47
|
* added field of view config because it was missingepoch2020-03-271-0/+2
|
* added a couple more key bindings for X11epoch2020-03-071-8/+20
|
* added defines for keys to rotate the cameraepoch2020-03-071-0/+2
|
* added turning keys if you insist on not using a mouseepoch2020-03-071-1/+10
|
* some more functions went into math.hepoch2020-03-071-0/+4
|
* added flatten commandepoch2020-03-071-30/+30
|
* moved the group_rotation based transformations into a function in math.c so ↵epoch2020-03-073-36/+70
| | | | I could reuse it for the new "flatten" command.
* made key presses not noisy into stderr anymore.epoch2020-02-241-1/+1
|
* forgot to initialize the oldmouse in gra_globalepoch2020-02-241-0/+1
|
* made the camera control with the secondary mouse button work in a way that ↵epoch2020-02-242-2/+6
| | | | is easier to use
* small cleanup in the framebuffer version (not tested) to do what the X11 ↵epoch2020-02-241-6/+2
| | | | version does with the input mode
* added two new mouse controls. secondary click will enable camera movement. ↵epoch2020-02-241-6/+14
| | | | middle-click will toggle keyboard input mode.
* got rid of the derpy "term" based input mode changing.epoch2020-02-241-6/+2
|
* got rid of the derpy horizon that did not ever move and made shapes with the ↵epoch2020-02-241-2/+6
| | | | camera's name rotate in a more sane way when the camera rotates
* turned a hard-coded include path into one based on PREFIXepoch2020-02-131-1/+1
|
* fixed whitespace in graphics_event_handler messepoch2020-02-131-13/+13
|
* ignore the comment. going to set camera angle directly from mouse_x11.c for ↵epoch2020-02-131-3/+7
| | | | now. will move to generic place later.
* reversed left and right so that they work rightepoch2020-02-131-3/+7
|
* not sure why I had expose events not triggering a redrawepoch2020-02-111-3/+4
|
* group-wide rotations now happen before the group gets translatedepoch2020-02-112-3/+6
|
* forgot to set stdout to linebuffered in nonblocktailepoch2020-02-051-0/+1
|
* renamed GNUmakefile back to Makefile and added a tool to help with tailing ↵epoch2020-02-052-3/+28
| | | | multiple files in a way that won't block if any run out of data
* forgot to properly handle libidc calling the line handler on EOF with a null ↵epoch2020-01-301-2/+2
| | | | pointer.
* added scroll-wheel handling for X11 mouse and removed camera rotation from ↵epoch2020-01-271-2/+14
| | | | mouse movement
* trimmed some trailing whitespace. AMAZING COMMIT RIGHT HEREepoch2020-01-271-2/+2
|
* global struct renameepoch2019-08-031-1/+1
|
* I assume there was some trailing whitespaceepoch2019-08-031-1/+1
|
* global rename. unimportant functionepoch2019-08-031-1/+5
|
* renamed global to hvr_global. comment of stupidness. init now gets display ↵epoch2019-08-031-3/+4
| | | | fd for libidc to use
* store display's fd in x11_global now to pass to select() in libidcepoch2019-08-031-0/+1
|
* made mouse presses redraw. new function not worth mentioningepoch2019-08-031-0/+13
|
* added array for pipe fds for redrawing and prototype for redrawepoch2019-08-031-0/+2
|
* added new redraw() which will work using libidc. also added an action on ↵epoch2019-08-031-1/+13
| | | | empty space of the mouse x and y
* letting X11 handle the repeats for held down keysepoch2019-08-031-6/+13
|
* huge change to using libidc from nonblocking filesepoch2019-08-031-139/+142
|
* added a flag and old_r and old_p for future useepoch2019-08-031-1/+4
|
* fixed prototype for input_event_handler and added input_init prototypeepoch2019-08-031-1/+2
|
* input.c needed input.hepoch2019-08-031-0/+1
|
* added all dep to makefile target "install"epoch2019-08-031-1/+1
|
* generic input event handlerepoch2019-07-011-0/+3
|
* set FORCE_REDRAW to 0 because I'm abusing it now since it doesn't make much ↵epoch2019-07-011-1/+1
| | | | sense with libidc
* renamed global to hvr_global and added a namedpipe for doing selfcommand()epoch2019-07-011-1/+2
|
* added libidc and input.o to targetsepoch2019-07-011-24/+36
|
* added a input handler since x11 mouse and kb events come through the same fdepoch2019-07-011-0/+18
|