Skip to content

Commit

Permalink
Merge pull request #221 from gbishop/main
Browse files Browse the repository at this point in the history
Merging pointer groups
  • Loading branch information
gbishop authored Sep 18, 2023
2 parents af180c6 + 3a4dec7 commit c17699c
Show file tree
Hide file tree
Showing 23 changed files with 888 additions and 436 deletions.
1 change: 0 additions & 1 deletion OS-DPI

This file was deleted.

8 changes: 0 additions & 8 deletions components/access/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
import { extender } from "proxy-pants";

/** Carry access data along with Events */
const EventWrapProto = {
access: {},
};
export const EventWrap = extender(EventWrapProto);

/* Allow signaling that a button has changed since last render */
export let AccessChanged = false;

Expand Down
29 changes: 19 additions & 10 deletions components/access/method/defaultMethods.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,16 @@ export default {
props: {
Name: "2 switch",
Key: "idl6e14meiwzjdcquhgk9",
KeyDebounce: 0.1,
PointerEnterDebounce: 0,
PointerDownDebounce: 0,
Active: "false",
Pattern: "idl83jjo4z0ibii6748fx",
Pattern: "DefaultPattern",
},
children: [
{
className: "KeyHandler",
props: { Signal: "keyup", Debounce: "0.1" },
props: { Signal: "keyup" },
children: [
{
className: "HandlerKeyCondition",
Expand All @@ -34,7 +37,7 @@ export default {
},
{
className: "KeyHandler",
props: { Signal: "keyup", Debounce: "0.1" },
props: { Signal: "keyup" },
children: [
{
className: "HandlerKeyCondition",
Expand All @@ -60,13 +63,16 @@ export default {
props: {
Name: "Pointer dwell",
Key: "idl6wcdmjjkb48xmbxscn",
KeyDebounce: 0,
PointerEnterDebounce: 0.1,
PointerDownDebounce: 0.1,
Active: "false",
Pattern: "idl84lw7z6km7dgni3tn",
Pattern: "idl83jg7qtj9wmyggtxf",
},
children: [
{
className: "PointerHandler",
props: { Signal: "pointerover", Debounce: "0.1" },
props: { Signal: "pointerover" },
children: [
{
className: "ResponderCue",
Expand All @@ -85,7 +91,7 @@ export default {
},
{
className: "PointerHandler",
props: { Signal: "pointerout", Debounce: "0.1" },
props: { Signal: "pointerout" },
children: [
{
className: "ResponderClearCue",
Expand All @@ -96,7 +102,7 @@ export default {
},
{
className: "PointerHandler",
props: { Signal: "pointerdown", Debounce: "0.1" },
props: { Signal: "pointerdown" },
children: [
{
className: "ResponderActivate",
Expand Down Expand Up @@ -131,14 +137,17 @@ export default {
className: "Method",
props: {
Name: "Mouse",
KeyDebounce: 0,
PointerEnterDebounce: 0,
PointerDownDebounce: 0,
Key: "idl84ljjeoebyl94sow87",
Active: "true",
Pattern: "idl83jg7qtj9wmyggtxf",
},
children: [
{
className: "PointerHandler",
props: { Signal: "pointerdown", Debounce: "0.01" },
props: { Signal: "pointerdown" },
children: [
{
className: "ResponderActivate",
Expand All @@ -149,7 +158,7 @@ export default {
},
{
className: "PointerHandler",
props: { Signal: "pointerover", Debounce: "0.1" },
props: { Signal: "pointerover" },
children: [
{
className: "ResponderCue",
Expand All @@ -160,7 +169,7 @@ export default {
},
{
className: "PointerHandler",
props: { Signal: "pointerout", Debounce: "0.1" },
props: { Signal: "pointerout" },
children: [
{
className: "ResponderClearCue",
Expand Down
Loading

0 comments on commit c17699c

Please sign in to comment.