<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 5 July 2017 at 01:53, James Paige <span dir="ltr"><<a href="mailto:Bob@hamsterrepublic.com" target="_blank">Bob@hamsterrepublic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><br><br>On Monday, July 3, 2017, Ralph Versteegen <<a href="mailto:teeemcee@gmail.com" target="_blank">teeemcee@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 4 July 2017 at 16:24, James Paige <span dir="ltr"><<a>Bob@hamsterrepublic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 3, 2017 at 9:18 PM,  <span dir="ltr"><<a>subversion@hamsterrepublic.co<wbr>m</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">teeemcee<br>
2017-07-03 21:18:05 -0700 (Mon, 03 Jul 2017)<br>
444<br>
Reenable and rewrite mouse support in menus.<br>
<br>
(Yikes, it's been 4 years since James disabled his first attempt!)<br>
The difference is that this time, hovering the mouse over a menu item<br>
highlights it (setting .hover) instead of selecting it.<br>
<br>
This is blanket-disabled in Game. I'm not sure whether we want the mouse control<br>
in Game to be per-MenuDef or per-MenuState or global (and overridable when<br>
in a debug menu, etc), and how that should work.<br></blockquote></div><br></div></span><div class="gmail_extra">I was planning a global mouse-menu enable option in the menu options menu. Probably a per-menudef overide would make sense too.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">I have also been thinking a lot about how we will need separate support for mouse-menus and touch-menus, since hover is pretty meaningless in touch mode.<br><br></div><div class="gmail_extra">One possibility I was thinking of was that if you touch and drag up or down it changes your selection, but if you touch and release with no drag, then it confirms the current selection. I'll have to give it a test to see if it actually feels usable. (fortunately I have a touch-screen laptop now, so I'll be able to test this sort of thing without having to go through a full android build+deploy each time I want to iterate a test)<br></div></div></blockquote><div><br></div><div>I had totally forgotten about touch.<br></div><div>I'll leave all of these things to you.<br><br></div><div>How does the OHR work with a touch-screen laptop? Do we need to extend the backends to report whether the device has a touch screen? But you could use both the mouse or a touch screen...</div></div></div></div></blockquote><div><br></div></span><div>I don't think we should attempt to detect or report touch laptops, but I was thinking that I might want a Mouse/Touch toggle that could optionally be added to the options menu along with volume.</div><div><br></div><div>Mostly though, I don't care about touch on laptops, beyond the fact that it makes testing touch for mobile easier</div></blockquote><div><br></div><div>Could you test scrolling using touch? In particular, scrolling slowly and whether the direction is correct.<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>I'm going to add right-click controls to select a menu item without entering, or cancel out of a menu, since it's often necessary to do both of those in Custom; in particular Previous Menu isn't always available.<br></div></div></div></div></blockquote><div><br></div></span><div>I think in most cases it would be best to add the missing "Previous Menu" menu item.</div></blockquote><div><br></div><div>Even when there is a Previous Menu item, it might be above the top of the screen.<br><br></div><div>My idea was to right click to select a menu item (important in some menus), which I already implemented, and right click outside the boundaries of the menu to exit. I'm not sure if it will work yet. Any screen which has multiple menus would have to be handled specially. And it might make any other purposes of right-clicking aside from selecting a menu item unintuitive.<br>Another problem is that some menus fill the entire screen. The number of such menus which also don't have a Previous Menu option might be zero  (however, those are also the ones where the Previous Menu option is likely to be off the top of the screen).<br><br></div><div>An alternative is to click off the right edge of a menu item (but within the menu rect) to select it, having to click directly on the text to activate it.<br></div><div><br></div><div>Alternatively, with larger window sizes we can put extra UI at the edges of the screen. I'd like to experiment with a tabbed interface (or potentially split-screen). Each menu would run in a separate co-routine, so that you can switch between them freely. I figure this would be optional, and in particular the tab UI would be disabled if running at 320x200. Would still be possible to have a pop-up menu to switch between menus, though.<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>I don't know how to handle that with touch controls at all, but this is probably only going to affect menus in Custom anyway, so it's probably not necessary to support touch there.<br></div></div></div></div></blockquote><div><br></div></span><div> Yes. Touch is important for game, but I am not worried about touch for custom.</div><div><br></div><div>On Mobile, you can currently right click with a two finger press, which I might make use of, but we shall see.</div><div><br></div><div><br></div>
<br>______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
<br></blockquote></div><br></div></div>